Expand description
§use-species
Primitive species naming vocabulary.
use-species stores descriptive binomial, trinomial, and custom species names. It does not validate against taxonomy databases, resolve synonyms, fetch metadata, infer rank, or infer lineage.
use use_species::{BinomialName, GenusName, SpecificEpithet};
let name = BinomialName::new(
GenusName::new("Escherichia").unwrap(),
SpecificEpithet::new("coli").unwrap(),
);
assert_eq!(name.to_string(), "Escherichia coli");Structs§
- Binomial
Name - A descriptive binomial species name.
- Genus
Name - A non-empty genus name.
- Specific
Epithet - A non-empty specific epithet.
- Subspecific
Epithet - A non-empty subspecific epithet.
- Trinomial
Name - A descriptive trinomial species name.
Enums§
- Species
Name - A species name represented as binomial, trinomial, or caller-defined descriptive text.
- Species
Name Error - Error returned when species name components are empty.