Trait schema_org_types::NerveTrait
source · pub trait NerveTrait {
// Required methods
fn get_branch(&self) -> &[BranchProperty];
fn take_branch(&mut self) -> Vec<BranchProperty>;
fn get_nerve_motor(&self) -> &[NerveMotorProperty];
fn take_nerve_motor(&mut self) -> Vec<NerveMotorProperty>;
fn get_sensory_unit(&self) -> &[SensoryUnitProperty];
fn take_sensory_unit(&mut self) -> Vec<SensoryUnitProperty>;
fn get_sourced_from(&self) -> &[SourcedFromProperty];
fn take_sourced_from(&mut self) -> Vec<SourcedFromProperty>;
}
Expand description
This trait is for properties from https://schema.org/Nerve.
Required Methods§
sourcefn get_branch(&self) -> &[BranchProperty]
fn get_branch(&self) -> &[BranchProperty]
👎Deprecated: This schema is superseded by https://schema.org/arterialBranch.
Get https://schema.org/branch from Self
as borrowed slice.
sourcefn take_branch(&mut self) -> Vec<BranchProperty>
fn take_branch(&mut self) -> Vec<BranchProperty>
👎Deprecated: This schema is superseded by https://schema.org/arterialBranch.
Take https://schema.org/branch from Self
as owned vector.
sourcefn get_nerve_motor(&self) -> &[NerveMotorProperty]
fn get_nerve_motor(&self) -> &[NerveMotorProperty]
Get https://schema.org/nerveMotor from Self
as borrowed slice.
sourcefn take_nerve_motor(&mut self) -> Vec<NerveMotorProperty>
fn take_nerve_motor(&mut self) -> Vec<NerveMotorProperty>
Take https://schema.org/nerveMotor from Self
as owned vector.
sourcefn get_sensory_unit(&self) -> &[SensoryUnitProperty]
fn get_sensory_unit(&self) -> &[SensoryUnitProperty]
Get https://schema.org/sensoryUnit from Self
as borrowed slice.
sourcefn take_sensory_unit(&mut self) -> Vec<SensoryUnitProperty>
fn take_sensory_unit(&mut self) -> Vec<SensoryUnitProperty>
Take https://schema.org/sensoryUnit from Self
as owned vector.
sourcefn get_sourced_from(&self) -> &[SourcedFromProperty]
fn get_sourced_from(&self) -> &[SourcedFromProperty]
Get https://schema.org/sourcedFrom from Self
as borrowed slice.
sourcefn take_sourced_from(&mut self) -> Vec<SourcedFromProperty>
fn take_sourced_from(&mut self) -> Vec<SourcedFromProperty>
Take https://schema.org/sourcedFrom from Self
as owned vector.