Trait schema_org_types::BioChemEntityTrait
source · pub trait BioChemEntityTrait {
Show 26 methods
// Required methods
fn get_associated_disease(&self) -> &[AssociatedDiseaseProperty];
fn take_associated_disease(&mut self) -> Vec<AssociatedDiseaseProperty>;
fn get_bio_chem_interaction(&self) -> &[BioChemInteractionProperty];
fn take_bio_chem_interaction(&mut self) -> Vec<BioChemInteractionProperty>;
fn get_bio_chem_similarity(&self) -> &[BioChemSimilarityProperty];
fn take_bio_chem_similarity(&mut self) -> Vec<BioChemSimilarityProperty>;
fn get_biological_role(&self) -> &[BiologicalRoleProperty];
fn take_biological_role(&mut self) -> Vec<BiologicalRoleProperty>;
fn get_funding(&self) -> &[FundingProperty];
fn take_funding(&mut self) -> Vec<FundingProperty>;
fn get_has_bio_chem_entity_part(&self) -> &[HasBioChemEntityPartProperty];
fn take_has_bio_chem_entity_part(
&mut self
) -> Vec<HasBioChemEntityPartProperty>;
fn get_has_molecular_function(&self) -> &[HasMolecularFunctionProperty];
fn take_has_molecular_function(
&mut self
) -> Vec<HasMolecularFunctionProperty>;
fn get_has_representation(&self) -> &[HasRepresentationProperty];
fn take_has_representation(&mut self) -> Vec<HasRepresentationProperty>;
fn get_is_encoded_by_bio_chem_entity(
&self
) -> &[IsEncodedByBioChemEntityProperty];
fn take_is_encoded_by_bio_chem_entity(
&mut self
) -> Vec<IsEncodedByBioChemEntityProperty>;
fn get_is_involved_in_biological_process(
&self
) -> &[IsInvolvedInBiologicalProcessProperty];
fn take_is_involved_in_biological_process(
&mut self
) -> Vec<IsInvolvedInBiologicalProcessProperty>;
fn get_is_located_in_subcellular_location(
&self
) -> &[IsLocatedInSubcellularLocationProperty];
fn take_is_located_in_subcellular_location(
&mut self
) -> Vec<IsLocatedInSubcellularLocationProperty>;
fn get_is_part_of_bio_chem_entity(&self) -> &[IsPartOfBioChemEntityProperty];
fn take_is_part_of_bio_chem_entity(
&mut self
) -> Vec<IsPartOfBioChemEntityProperty>;
fn get_taxonomic_range(&self) -> &[TaxonomicRangeProperty];
fn take_taxonomic_range(&mut self) -> Vec<TaxonomicRangeProperty>;
}
Expand description
This trait is for properties from https://schema.org/BioChemEntity.
Required Methods§
sourcefn get_associated_disease(&self) -> &[AssociatedDiseaseProperty]
fn get_associated_disease(&self) -> &[AssociatedDiseaseProperty]
Get https://schema.org/associatedDisease from Self
as borrowed slice.
sourcefn 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.
sourcefn get_bio_chem_interaction(&self) -> &[BioChemInteractionProperty]
fn get_bio_chem_interaction(&self) -> &[BioChemInteractionProperty]
Get https://schema.org/bioChemInteraction from Self
as borrowed slice.
sourcefn 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.
sourcefn get_bio_chem_similarity(&self) -> &[BioChemSimilarityProperty]
fn get_bio_chem_similarity(&self) -> &[BioChemSimilarityProperty]
Get https://schema.org/bioChemSimilarity from Self
as borrowed slice.
sourcefn 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.
sourcefn get_biological_role(&self) -> &[BiologicalRoleProperty]
fn get_biological_role(&self) -> &[BiologicalRoleProperty]
Get https://schema.org/biologicalRole from Self
as borrowed slice.
sourcefn 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.
sourcefn get_funding(&self) -> &[FundingProperty]
fn get_funding(&self) -> &[FundingProperty]
Get https://schema.org/funding from Self
as borrowed slice.
sourcefn take_funding(&mut self) -> Vec<FundingProperty>
fn take_funding(&mut self) -> Vec<FundingProperty>
Take https://schema.org/funding from Self
as owned vector.
sourcefn 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.
sourcefn 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.
sourcefn get_has_molecular_function(&self) -> &[HasMolecularFunctionProperty]
fn get_has_molecular_function(&self) -> &[HasMolecularFunctionProperty]
Get https://schema.org/hasMolecularFunction from Self
as borrowed slice.
sourcefn 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.
sourcefn get_has_representation(&self) -> &[HasRepresentationProperty]
fn get_has_representation(&self) -> &[HasRepresentationProperty]
Get https://schema.org/hasRepresentation from Self
as borrowed slice.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn get_taxonomic_range(&self) -> &[TaxonomicRangeProperty]
fn get_taxonomic_range(&self) -> &[TaxonomicRangeProperty]
Get https://schema.org/taxonomicRange from Self
as borrowed slice.
sourcefn 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.