pub trait MolecularEntityTrait {
Show 18 methods // Required methods fn get_chemical_role(&self) -> &[ChemicalRoleProperty]; fn take_chemical_role(&mut self) -> Vec<ChemicalRoleProperty>; fn get_in_ch_i(&self) -> &[InChIProperty]; fn take_in_ch_i(&mut self) -> Vec<InChIProperty>; fn get_in_ch_i_key(&self) -> &[InChIKeyProperty]; fn take_in_ch_i_key(&mut self) -> Vec<InChIKeyProperty>; fn get_iupac_name(&self) -> &[IupacNameProperty]; fn take_iupac_name(&mut self) -> Vec<IupacNameProperty>; fn get_molecular_formula(&self) -> &[MolecularFormulaProperty]; fn take_molecular_formula(&mut self) -> Vec<MolecularFormulaProperty>; fn get_molecular_weight(&self) -> &[MolecularWeightProperty]; fn take_molecular_weight(&mut self) -> Vec<MolecularWeightProperty>; fn get_monoisotopic_molecular_weight( &self ) -> &[MonoisotopicMolecularWeightProperty]; fn take_monoisotopic_molecular_weight( &mut self ) -> Vec<MonoisotopicMolecularWeightProperty>; fn get_potential_use(&self) -> &[PotentialUseProperty]; fn take_potential_use(&mut self) -> Vec<PotentialUseProperty>; fn get_smiles(&self) -> &[SmilesProperty]; fn take_smiles(&mut self) -> Vec<SmilesProperty>;
}
Expand description

This trait is for properties from https://schema.org/MolecularEntity.

Required Methods§

source

fn get_chemical_role(&self) -> &[ChemicalRoleProperty]

Get https://schema.org/chemicalRole from Self as borrowed slice.

source

fn take_chemical_role(&mut self) -> Vec<ChemicalRoleProperty>

Take https://schema.org/chemicalRole from Self as owned vector.

source

fn get_in_ch_i(&self) -> &[InChIProperty]

Get https://schema.org/inChI from Self as borrowed slice.

source

fn take_in_ch_i(&mut self) -> Vec<InChIProperty>

Take https://schema.org/inChI from Self as owned vector.

source

fn get_in_ch_i_key(&self) -> &[InChIKeyProperty]

Get https://schema.org/inChIKey from Self as borrowed slice.

source

fn take_in_ch_i_key(&mut self) -> Vec<InChIKeyProperty>

Take https://schema.org/inChIKey from Self as owned vector.

source

fn get_iupac_name(&self) -> &[IupacNameProperty]

Get https://schema.org/iupacName from Self as borrowed slice.

source

fn take_iupac_name(&mut self) -> Vec<IupacNameProperty>

Take https://schema.org/iupacName from Self as owned vector.

source

fn get_molecular_formula(&self) -> &[MolecularFormulaProperty]

Get https://schema.org/molecularFormula from Self as borrowed slice.

source

fn take_molecular_formula(&mut self) -> Vec<MolecularFormulaProperty>

Take https://schema.org/molecularFormula from Self as owned vector.

source

fn get_molecular_weight(&self) -> &[MolecularWeightProperty]

Get https://schema.org/molecularWeight from Self as borrowed slice.

source

fn take_molecular_weight(&mut self) -> Vec<MolecularWeightProperty>

Take https://schema.org/molecularWeight from Self as owned vector.

source

fn get_monoisotopic_molecular_weight( &self ) -> &[MonoisotopicMolecularWeightProperty]

source

fn take_monoisotopic_molecular_weight( &mut self ) -> Vec<MonoisotopicMolecularWeightProperty>

source

fn get_potential_use(&self) -> &[PotentialUseProperty]

Get https://schema.org/potentialUse from Self as borrowed slice.

source

fn take_potential_use(&mut self) -> Vec<PotentialUseProperty>

Take https://schema.org/potentialUse from Self as owned vector.

source

fn get_smiles(&self) -> &[SmilesProperty]

Get https://schema.org/smiles from Self as borrowed slice.

source

fn take_smiles(&mut self) -> Vec<SmilesProperty>

Take https://schema.org/smiles from Self as owned vector.

Implementors§