Trait schema_org_types::GeneTrait
source · pub trait GeneTrait {
// Required methods
fn get_alternative_of(&self) -> &[AlternativeOfProperty];
fn take_alternative_of(&mut self) -> Vec<AlternativeOfProperty>;
fn get_encodes_bio_chem_entity(&self) -> &[EncodesBioChemEntityProperty];
fn take_encodes_bio_chem_entity(
&mut self
) -> Vec<EncodesBioChemEntityProperty>;
fn get_expressed_in(&self) -> &[ExpressedInProperty];
fn take_expressed_in(&mut self) -> Vec<ExpressedInProperty>;
fn get_has_bio_polymer_sequence(&self) -> &[HasBioPolymerSequenceProperty];
fn take_has_bio_polymer_sequence(
&mut self
) -> Vec<HasBioPolymerSequenceProperty>;
}
Expand description
This trait is for properties from https://schema.org/Gene.
Required Methods§
sourcefn get_alternative_of(&self) -> &[AlternativeOfProperty]
fn get_alternative_of(&self) -> &[AlternativeOfProperty]
Get https://schema.org/alternativeOf from Self
as borrowed slice.
sourcefn take_alternative_of(&mut self) -> Vec<AlternativeOfProperty>
fn take_alternative_of(&mut self) -> Vec<AlternativeOfProperty>
Take https://schema.org/alternativeOf from Self
as owned vector.
sourcefn get_encodes_bio_chem_entity(&self) -> &[EncodesBioChemEntityProperty]
fn get_encodes_bio_chem_entity(&self) -> &[EncodesBioChemEntityProperty]
Get https://schema.org/encodesBioChemEntity from Self
as borrowed slice.
sourcefn take_encodes_bio_chem_entity(&mut self) -> Vec<EncodesBioChemEntityProperty>
fn take_encodes_bio_chem_entity(&mut self) -> Vec<EncodesBioChemEntityProperty>
Take https://schema.org/encodesBioChemEntity from Self
as owned vector.
sourcefn get_expressed_in(&self) -> &[ExpressedInProperty]
fn get_expressed_in(&self) -> &[ExpressedInProperty]
Get https://schema.org/expressedIn from Self
as borrowed slice.
sourcefn take_expressed_in(&mut self) -> Vec<ExpressedInProperty>
fn take_expressed_in(&mut self) -> Vec<ExpressedInProperty>
Take https://schema.org/expressedIn from Self
as owned vector.
sourcefn get_has_bio_polymer_sequence(&self) -> &[HasBioPolymerSequenceProperty]
fn get_has_bio_polymer_sequence(&self) -> &[HasBioPolymerSequenceProperty]
Get https://schema.org/hasBioPolymerSequence from Self
as borrowed slice.
sourcefn take_has_bio_polymer_sequence(
&mut self
) -> Vec<HasBioPolymerSequenceProperty>
fn take_has_bio_polymer_sequence( &mut self ) -> Vec<HasBioPolymerSequenceProperty>
Take https://schema.org/hasBioPolymerSequence from Self
as owned vector.