Trait schema_org_types::ProteinTrait
source · pub trait ProteinTrait {
// Required methods
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/Protein.
Required Methods§
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.