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§

source

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.

source

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.

source

fn get_nerve_motor(&self) -> &[NerveMotorProperty]

Get https://schema.org/nerveMotor from Self as borrowed slice.

source

fn take_nerve_motor(&mut self) -> Vec<NerveMotorProperty>

Take https://schema.org/nerveMotor from Self as owned vector.

source

fn get_sensory_unit(&self) -> &[SensoryUnitProperty]

Get https://schema.org/sensoryUnit from Self as borrowed slice.

source

fn take_sensory_unit(&mut self) -> Vec<SensoryUnitProperty>

Take https://schema.org/sensoryUnit from Self as owned vector.

source

fn get_sourced_from(&self) -> &[SourcedFromProperty]

Get https://schema.org/sourcedFrom from Self as borrowed slice.

source

fn take_sourced_from(&mut self) -> Vec<SourcedFromProperty>

Take https://schema.org/sourcedFrom from Self as owned vector.

Implementors§