[][src]Enum patoz::Token

pub enum Token {
    MoleculeId(u32),
    Molecule(String),
    Chain {
        identifiers: Vec<String>,
    },
    Fragment(String),
    Synonym {
        synonyms: Vec<String>,
    },
    Ec {
        commission_numbers: Vec<String>,
    },
    Engineered(bool),
    Mutation(bool),
    OtherDetails(String),
    Synthetic(String),
    OrganismScientific(String),
    OrganismCommon {
        organisms: Vec<String>,
    },
    OrganismTaxId {
        id: Vec<u32>,
    },
    Strain(String),
    Variant(String),
    CellLine(String),
    Atcc(u32),
    Organ(String),
    Tissue(String),
    Cell(String),
    Organelle(String),
    Secretion(String),
    CellularLocation(String),
    Plasmid(String),
    Gene {
        gene: Vec<String>,
    },
    ExpressionSystem(String),
    ExpressionSystemCommon {
        systems: Vec<String>,
    },
    ExpressionSystemTaxId {
        id: Vec<u32>,
    },
    ExpressionSystemStrain(String),
    ExpressionSystemVariant(String),
    ExpressionSystemCellLine(String),
    ExpressionSystemAtcc(u32),
    ExpressionSystemOrgan(String),
    ExpressionSystemTissue(String),
    ExpressionSystemCell(String),
    ExpressionSystemOrganelle(String),
    ExpressionSystemCellularLocation(String),
    ExpressionSystemVectorType(String),
    ExpressionSystemVector(String),
    ExpressionSystemPlasmid(String),
    ExpressionSystemGene(String),
}

Represents keys of CMPND and SOURCE records

Variants

MoleculeId(u32)
Molecule(String)
Chain

Fields of Chain

identifiers: Vec<String>
Fragment(String)
Synonym

Fields of Synonym

synonyms: Vec<String>
Ec

Fields of Ec

commission_numbers: Vec<String>
Engineered(bool)
Mutation(bool)
OtherDetails(String)
Synthetic(String)
OrganismScientific(String)
OrganismCommon

Fields of OrganismCommon

organisms: Vec<String>
OrganismTaxId

Fields of OrganismTaxId

id: Vec<u32>
Strain(String)
Variant(String)
CellLine(String)
Atcc(u32)
Organ(String)
Tissue(String)
Cell(String)
Organelle(String)
Secretion(String)
CellularLocation(String)
Plasmid(String)
Gene

Fields of Gene

gene: Vec<String>
ExpressionSystem(String)
ExpressionSystemCommon

Fields of ExpressionSystemCommon

systems: Vec<String>
ExpressionSystemTaxId

Fields of ExpressionSystemTaxId

id: Vec<u32>
ExpressionSystemStrain(String)
ExpressionSystemVariant(String)
ExpressionSystemCellLine(String)
ExpressionSystemAtcc(u32)
ExpressionSystemOrgan(String)
ExpressionSystemTissue(String)
ExpressionSystemCell(String)
ExpressionSystemOrganelle(String)
ExpressionSystemCellularLocation(String)
ExpressionSystemVectorType(String)
ExpressionSystemVector(String)
ExpressionSystemPlasmid(String)
ExpressionSystemGene(String)

Trait Implementations

impl Clone for Token[src]

impl Debug for Token[src]

impl PartialEq<Token> for Token[src]

impl StructuralPartialEq for Token[src]

Auto Trait Implementations

impl RefUnwindSafe for Token

impl Send for Token

impl Sync for Token

impl Unpin for Token

impl UnwindSafe for Token

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.