Struct schema_org_types::MolecularEntity
source · pub struct MolecularEntity {Show 34 fields
pub chemical_role: Vec<ChemicalRoleProperty>,
pub in_ch_i: Vec<InChIProperty>,
pub in_ch_i_key: Vec<InChIKeyProperty>,
pub iupac_name: Vec<IupacNameProperty>,
pub molecular_formula: Vec<MolecularFormulaProperty>,
pub molecular_weight: Vec<MolecularWeightProperty>,
pub monoisotopic_molecular_weight: Vec<MonoisotopicMolecularWeightProperty>,
pub potential_use: Vec<PotentialUseProperty>,
pub smiles: Vec<SmilesProperty>,
pub associated_disease: Vec<AssociatedDiseaseProperty>,
pub bio_chem_interaction: Vec<BioChemInteractionProperty>,
pub bio_chem_similarity: Vec<BioChemSimilarityProperty>,
pub biological_role: Vec<BiologicalRoleProperty>,
pub funding: Vec<FundingProperty>,
pub has_bio_chem_entity_part: Vec<HasBioChemEntityPartProperty>,
pub has_molecular_function: Vec<HasMolecularFunctionProperty>,
pub has_representation: Vec<HasRepresentationProperty>,
pub is_encoded_by_bio_chem_entity: Vec<IsEncodedByBioChemEntityProperty>,
pub is_involved_in_biological_process: Vec<IsInvolvedInBiologicalProcessProperty>,
pub is_located_in_subcellular_location: Vec<IsLocatedInSubcellularLocationProperty>,
pub is_part_of_bio_chem_entity: Vec<IsPartOfBioChemEntityProperty>,
pub taxonomic_range: Vec<TaxonomicRangeProperty>,
pub additional_type: Vec<AdditionalTypeProperty>,
pub alternate_name: Vec<AlternateNameProperty>,
pub description: Vec<DescriptionProperty>,
pub disambiguating_description: Vec<DisambiguatingDescriptionProperty>,
pub identifier: Vec<IdentifierProperty>,
pub image: Vec<ImageProperty>,
pub main_entity_of_page: Vec<MainEntityOfPageProperty>,
pub name: Vec<NameProperty>,
pub potential_action: Vec<PotentialActionProperty>,
pub same_as: Vec<SameAsProperty>,
pub subject_of: Vec<SubjectOfProperty>,
pub url: Vec<UrlProperty>,
}
Expand description
Fields§
§chemical_role: Vec<ChemicalRoleProperty>
§in_ch_i: Vec<InChIProperty>
§in_ch_i_key: Vec<InChIKeyProperty>
§iupac_name: Vec<IupacNameProperty>
§molecular_formula: Vec<MolecularFormulaProperty>
§molecular_weight: Vec<MolecularWeightProperty>
§monoisotopic_molecular_weight: Vec<MonoisotopicMolecularWeightProperty>
§potential_use: Vec<PotentialUseProperty>
§smiles: Vec<SmilesProperty>
§associated_disease: Vec<AssociatedDiseaseProperty>
§bio_chem_interaction: Vec<BioChemInteractionProperty>
§bio_chem_similarity: Vec<BioChemSimilarityProperty>
§biological_role: Vec<BiologicalRoleProperty>
§funding: Vec<FundingProperty>
§has_bio_chem_entity_part: Vec<HasBioChemEntityPartProperty>
§has_molecular_function: Vec<HasMolecularFunctionProperty>
§has_representation: Vec<HasRepresentationProperty>
§is_encoded_by_bio_chem_entity: Vec<IsEncodedByBioChemEntityProperty>
§is_involved_in_biological_process: Vec<IsInvolvedInBiologicalProcessProperty>
§is_located_in_subcellular_location: Vec<IsLocatedInSubcellularLocationProperty>
§is_part_of_bio_chem_entity: Vec<IsPartOfBioChemEntityProperty>
§taxonomic_range: Vec<TaxonomicRangeProperty>
§additional_type: Vec<AdditionalTypeProperty>
§alternate_name: Vec<AlternateNameProperty>
§description: Vec<DescriptionProperty>
§disambiguating_description: Vec<DisambiguatingDescriptionProperty>
§identifier: Vec<IdentifierProperty>
§image: Vec<ImageProperty>
§main_entity_of_page: Vec<MainEntityOfPageProperty>
§name: Vec<NameProperty>
§potential_action: Vec<PotentialActionProperty>
§same_as: Vec<SameAsProperty>
§subject_of: Vec<SubjectOfProperty>
§url: Vec<UrlProperty>
Trait Implementations§
source§impl BioChemEntityTrait for MolecularEntity
impl BioChemEntityTrait for MolecularEntity
source§fn get_associated_disease(&self) -> &[AssociatedDiseaseProperty]
fn get_associated_disease(&self) -> &[AssociatedDiseaseProperty]
Get https://schema.org/associatedDisease from
Self
as borrowed slice.source§fn take_associated_disease(&mut self) -> Vec<AssociatedDiseaseProperty>
fn take_associated_disease(&mut self) -> Vec<AssociatedDiseaseProperty>
Take https://schema.org/associatedDisease from
Self
as owned vector.source§fn get_bio_chem_interaction(&self) -> &[BioChemInteractionProperty]
fn get_bio_chem_interaction(&self) -> &[BioChemInteractionProperty]
Get https://schema.org/bioChemInteraction from
Self
as borrowed slice.source§fn take_bio_chem_interaction(&mut self) -> Vec<BioChemInteractionProperty>
fn take_bio_chem_interaction(&mut self) -> Vec<BioChemInteractionProperty>
Take https://schema.org/bioChemInteraction from
Self
as owned vector.source§fn get_bio_chem_similarity(&self) -> &[BioChemSimilarityProperty]
fn get_bio_chem_similarity(&self) -> &[BioChemSimilarityProperty]
Get https://schema.org/bioChemSimilarity from
Self
as borrowed slice.source§fn take_bio_chem_similarity(&mut self) -> Vec<BioChemSimilarityProperty>
fn take_bio_chem_similarity(&mut self) -> Vec<BioChemSimilarityProperty>
Take https://schema.org/bioChemSimilarity from
Self
as owned vector.source§fn get_biological_role(&self) -> &[BiologicalRoleProperty]
fn get_biological_role(&self) -> &[BiologicalRoleProperty]
Get https://schema.org/biologicalRole from
Self
as borrowed slice.source§fn take_biological_role(&mut self) -> Vec<BiologicalRoleProperty>
fn take_biological_role(&mut self) -> Vec<BiologicalRoleProperty>
Take https://schema.org/biologicalRole from
Self
as owned vector.source§fn get_funding(&self) -> &[FundingProperty]
fn get_funding(&self) -> &[FundingProperty]
Get https://schema.org/funding from
Self
as borrowed slice.source§fn take_funding(&mut self) -> Vec<FundingProperty>
fn take_funding(&mut self) -> Vec<FundingProperty>
Take https://schema.org/funding from
Self
as owned vector.source§fn get_has_bio_chem_entity_part(&self) -> &[HasBioChemEntityPartProperty]
fn get_has_bio_chem_entity_part(&self) -> &[HasBioChemEntityPartProperty]
Get https://schema.org/hasBioChemEntityPart from
Self
as borrowed slice.source§fn take_has_bio_chem_entity_part(&mut self) -> Vec<HasBioChemEntityPartProperty>
fn take_has_bio_chem_entity_part(&mut self) -> Vec<HasBioChemEntityPartProperty>
Take https://schema.org/hasBioChemEntityPart from
Self
as owned vector.source§fn get_has_molecular_function(&self) -> &[HasMolecularFunctionProperty]
fn get_has_molecular_function(&self) -> &[HasMolecularFunctionProperty]
Get https://schema.org/hasMolecularFunction from
Self
as borrowed slice.source§fn take_has_molecular_function(&mut self) -> Vec<HasMolecularFunctionProperty>
fn take_has_molecular_function(&mut self) -> Vec<HasMolecularFunctionProperty>
Take https://schema.org/hasMolecularFunction from
Self
as owned vector.source§fn get_has_representation(&self) -> &[HasRepresentationProperty]
fn get_has_representation(&self) -> &[HasRepresentationProperty]
Get https://schema.org/hasRepresentation from
Self
as borrowed slice.source§fn take_has_representation(&mut self) -> Vec<HasRepresentationProperty>
fn take_has_representation(&mut self) -> Vec<HasRepresentationProperty>
Take https://schema.org/hasRepresentation from
Self
as owned vector.source§fn get_is_encoded_by_bio_chem_entity(
&self
) -> &[IsEncodedByBioChemEntityProperty]
fn get_is_encoded_by_bio_chem_entity( &self ) -> &[IsEncodedByBioChemEntityProperty]
Get https://schema.org/isEncodedByBioChemEntity from
Self
as borrowed slice.source§fn take_is_encoded_by_bio_chem_entity(
&mut self
) -> Vec<IsEncodedByBioChemEntityProperty>
fn take_is_encoded_by_bio_chem_entity( &mut self ) -> Vec<IsEncodedByBioChemEntityProperty>
Take https://schema.org/isEncodedByBioChemEntity from
Self
as owned vector.source§fn get_is_involved_in_biological_process(
&self
) -> &[IsInvolvedInBiologicalProcessProperty]
fn get_is_involved_in_biological_process( &self ) -> &[IsInvolvedInBiologicalProcessProperty]
Get https://schema.org/isInvolvedInBiologicalProcess from
Self
as borrowed slice.source§fn take_is_involved_in_biological_process(
&mut self
) -> Vec<IsInvolvedInBiologicalProcessProperty>
fn take_is_involved_in_biological_process( &mut self ) -> Vec<IsInvolvedInBiologicalProcessProperty>
Take https://schema.org/isInvolvedInBiologicalProcess from
Self
as owned vector.source§fn get_is_located_in_subcellular_location(
&self
) -> &[IsLocatedInSubcellularLocationProperty]
fn get_is_located_in_subcellular_location( &self ) -> &[IsLocatedInSubcellularLocationProperty]
Get https://schema.org/isLocatedInSubcellularLocation from
Self
as borrowed slice.source§fn take_is_located_in_subcellular_location(
&mut self
) -> Vec<IsLocatedInSubcellularLocationProperty>
fn take_is_located_in_subcellular_location( &mut self ) -> Vec<IsLocatedInSubcellularLocationProperty>
Take https://schema.org/isLocatedInSubcellularLocation from
Self
as owned vector.source§fn get_is_part_of_bio_chem_entity(&self) -> &[IsPartOfBioChemEntityProperty]
fn get_is_part_of_bio_chem_entity(&self) -> &[IsPartOfBioChemEntityProperty]
Get https://schema.org/isPartOfBioChemEntity from
Self
as borrowed slice.source§fn take_is_part_of_bio_chem_entity(
&mut self
) -> Vec<IsPartOfBioChemEntityProperty>
fn take_is_part_of_bio_chem_entity( &mut self ) -> Vec<IsPartOfBioChemEntityProperty>
Take https://schema.org/isPartOfBioChemEntity from
Self
as owned vector.source§fn get_taxonomic_range(&self) -> &[TaxonomicRangeProperty]
fn get_taxonomic_range(&self) -> &[TaxonomicRangeProperty]
Get https://schema.org/taxonomicRange from
Self
as borrowed slice.source§fn take_taxonomic_range(&mut self) -> Vec<TaxonomicRangeProperty>
fn take_taxonomic_range(&mut self) -> Vec<TaxonomicRangeProperty>
Take https://schema.org/taxonomicRange from
Self
as owned vector.source§impl MolecularEntityTrait for MolecularEntity
impl MolecularEntityTrait for MolecularEntity
source§fn get_chemical_role(&self) -> &[ChemicalRoleProperty]
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>
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]
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>
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]
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>
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]
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>
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]
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>
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]
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>
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]
fn get_monoisotopic_molecular_weight( &self ) -> &[MonoisotopicMolecularWeightProperty]
Get https://schema.org/monoisotopicMolecularWeight from
Self
as borrowed slice.source§fn take_monoisotopic_molecular_weight(
&mut self
) -> Vec<MonoisotopicMolecularWeightProperty>
fn take_monoisotopic_molecular_weight( &mut self ) -> Vec<MonoisotopicMolecularWeightProperty>
Take https://schema.org/monoisotopicMolecularWeight from
Self
as owned vector.source§fn get_potential_use(&self) -> &[PotentialUseProperty]
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>
fn take_potential_use(&mut self) -> Vec<PotentialUseProperty>
Take https://schema.org/potentialUse from
Self
as owned vector.source§fn get_smiles(&self) -> &[SmilesProperty]
fn get_smiles(&self) -> &[SmilesProperty]
Get https://schema.org/smiles from
Self
as borrowed slice.source§fn take_smiles(&mut self) -> Vec<SmilesProperty>
fn take_smiles(&mut self) -> Vec<SmilesProperty>
Take https://schema.org/smiles from
Self
as owned vector.source§impl ThingTrait for MolecularEntity
impl ThingTrait for MolecularEntity
source§fn get_additional_type(&self) -> &[AdditionalTypeProperty]
fn get_additional_type(&self) -> &[AdditionalTypeProperty]
Get https://schema.org/additionalType from
Self
as borrowed slice.source§fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
Take https://schema.org/additionalType from
Self
as owned vector.source§fn get_alternate_name(&self) -> &[AlternateNameProperty]
fn get_alternate_name(&self) -> &[AlternateNameProperty]
Get https://schema.org/alternateName from
Self
as borrowed slice.source§fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
Take https://schema.org/alternateName from
Self
as owned vector.source§fn get_description(&self) -> &[DescriptionProperty]
fn get_description(&self) -> &[DescriptionProperty]
Get https://schema.org/description from
Self
as borrowed slice.source§fn take_description(&mut self) -> Vec<DescriptionProperty>
fn take_description(&mut self) -> Vec<DescriptionProperty>
Take https://schema.org/description from
Self
as owned vector.source§fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
Get https://schema.org/disambiguatingDescription from
Self
as borrowed slice.source§fn take_disambiguating_description(
&mut self
) -> Vec<DisambiguatingDescriptionProperty>
fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>
Take https://schema.org/disambiguatingDescription from
Self
as owned vector.source§fn get_identifier(&self) -> &[IdentifierProperty]
fn get_identifier(&self) -> &[IdentifierProperty]
Get https://schema.org/identifier from
Self
as borrowed slice.source§fn take_identifier(&mut self) -> Vec<IdentifierProperty>
fn take_identifier(&mut self) -> Vec<IdentifierProperty>
Take https://schema.org/identifier from
Self
as owned vector.source§fn get_image(&self) -> &[ImageProperty]
fn get_image(&self) -> &[ImageProperty]
Get https://schema.org/image from
Self
as borrowed slice.source§fn take_image(&mut self) -> Vec<ImageProperty>
fn take_image(&mut self) -> Vec<ImageProperty>
Take https://schema.org/image from
Self
as owned vector.source§fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
Get https://schema.org/mainEntityOfPage from
Self
as borrowed slice.source§fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
Take https://schema.org/mainEntityOfPage from
Self
as owned vector.source§fn get_name(&self) -> &[NameProperty]
fn get_name(&self) -> &[NameProperty]
Get https://schema.org/name from
Self
as borrowed slice.source§fn take_name(&mut self) -> Vec<NameProperty>
fn take_name(&mut self) -> Vec<NameProperty>
Take https://schema.org/name from
Self
as owned vector.source§fn get_potential_action(&self) -> &[PotentialActionProperty]
fn get_potential_action(&self) -> &[PotentialActionProperty]
Get https://schema.org/potentialAction from
Self
as borrowed slice.source§fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
Take https://schema.org/potentialAction from
Self
as owned vector.source§fn get_same_as(&self) -> &[SameAsProperty]
fn get_same_as(&self) -> &[SameAsProperty]
Get https://schema.org/sameAs from
Self
as borrowed slice.source§fn take_same_as(&mut self) -> Vec<SameAsProperty>
fn take_same_as(&mut self) -> Vec<SameAsProperty>
Take https://schema.org/sameAs from
Self
as owned vector.source§fn get_subject_of(&self) -> &[SubjectOfProperty]
fn get_subject_of(&self) -> &[SubjectOfProperty]
Get https://schema.org/subjectOf from
Self
as borrowed slice.source§fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
Take https://schema.org/subjectOf from
Self
as owned vector.source§fn get_url(&self) -> &[UrlProperty]
fn get_url(&self) -> &[UrlProperty]
Get https://schema.org/url from
Self
as borrowed slice.source§fn take_url(&mut self) -> Vec<UrlProperty>
fn take_url(&mut self) -> Vec<UrlProperty>
Take https://schema.org/url from
Self
as owned vector.Auto Trait Implementations§
impl RefUnwindSafe for MolecularEntity
impl Send for MolecularEntity
impl Sync for MolecularEntity
impl Unpin for MolecularEntity
impl UnwindSafe for MolecularEntity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more