pub fn yank( config: &Config, krate: Option<String>, version: Option<String>, token: Option<Secret<String>>, reg_or_index: Option<RegistryOrIndex>, undo: bool ) -> CargoResult<()>