Trait schema_org_types::JointTrait
source · pub trait JointTrait {
// Required methods
fn get_biomechnical_class(&self) -> &[BiomechnicalClassProperty];
fn take_biomechnical_class(&mut self) -> Vec<BiomechnicalClassProperty>;
fn get_functional_class(&self) -> &[FunctionalClassProperty];
fn take_functional_class(&mut self) -> Vec<FunctionalClassProperty>;
fn get_structural_class(&self) -> &[StructuralClassProperty];
fn take_structural_class(&mut self) -> Vec<StructuralClassProperty>;
}
Expand description
This trait is for properties from https://schema.org/Joint.
Required Methods§
sourcefn get_biomechnical_class(&self) -> &[BiomechnicalClassProperty]
fn get_biomechnical_class(&self) -> &[BiomechnicalClassProperty]
Get https://schema.org/biomechnicalClass from Self
as borrowed slice.
sourcefn take_biomechnical_class(&mut self) -> Vec<BiomechnicalClassProperty>
fn take_biomechnical_class(&mut self) -> Vec<BiomechnicalClassProperty>
Take https://schema.org/biomechnicalClass from Self
as owned vector.
sourcefn get_functional_class(&self) -> &[FunctionalClassProperty]
fn get_functional_class(&self) -> &[FunctionalClassProperty]
Get https://schema.org/functionalClass from Self
as borrowed slice.
sourcefn take_functional_class(&mut self) -> Vec<FunctionalClassProperty>
fn take_functional_class(&mut self) -> Vec<FunctionalClassProperty>
Take https://schema.org/functionalClass from Self
as owned vector.
sourcefn get_structural_class(&self) -> &[StructuralClassProperty]
fn get_structural_class(&self) -> &[StructuralClassProperty]
Get https://schema.org/structuralClass from Self
as borrowed slice.
sourcefn take_structural_class(&mut self) -> Vec<StructuralClassProperty>
fn take_structural_class(&mut self) -> Vec<StructuralClassProperty>
Take https://schema.org/structuralClass from Self
as owned vector.