Trait schema_org_types::MuscleTrait
source · pub trait MuscleTrait {
// Required methods
fn get_antagonist(&self) -> &[AntagonistProperty];
fn take_antagonist(&mut self) -> Vec<AntagonistProperty>;
fn get_blood_supply(&self) -> &[BloodSupplyProperty];
fn take_blood_supply(&mut self) -> Vec<BloodSupplyProperty>;
fn get_insertion(&self) -> &[InsertionProperty];
fn take_insertion(&mut self) -> Vec<InsertionProperty>;
fn get_muscle_action(&self) -> &[MuscleActionProperty];
fn take_muscle_action(&mut self) -> Vec<MuscleActionProperty>;
fn get_nerve(&self) -> &[NerveProperty];
fn take_nerve(&mut self) -> Vec<NerveProperty>;
}
Expand description
This trait is for properties from https://schema.org/Muscle.
Required Methods§
sourcefn get_antagonist(&self) -> &[AntagonistProperty]
fn get_antagonist(&self) -> &[AntagonistProperty]
Get https://schema.org/antagonist from Self
as borrowed slice.
sourcefn take_antagonist(&mut self) -> Vec<AntagonistProperty>
fn take_antagonist(&mut self) -> Vec<AntagonistProperty>
Take https://schema.org/antagonist from Self
as owned vector.
sourcefn get_blood_supply(&self) -> &[BloodSupplyProperty]
fn get_blood_supply(&self) -> &[BloodSupplyProperty]
Get https://schema.org/bloodSupply from Self
as borrowed slice.
sourcefn take_blood_supply(&mut self) -> Vec<BloodSupplyProperty>
fn take_blood_supply(&mut self) -> Vec<BloodSupplyProperty>
Take https://schema.org/bloodSupply from Self
as owned vector.
sourcefn get_insertion(&self) -> &[InsertionProperty]
fn get_insertion(&self) -> &[InsertionProperty]
Get https://schema.org/insertion from Self
as borrowed slice.
sourcefn take_insertion(&mut self) -> Vec<InsertionProperty>
fn take_insertion(&mut self) -> Vec<InsertionProperty>
Take https://schema.org/insertion from Self
as owned vector.
sourcefn get_muscle_action(&self) -> &[MuscleActionProperty]
fn get_muscle_action(&self) -> &[MuscleActionProperty]
Get https://schema.org/muscleAction from Self
as borrowed slice.
sourcefn take_muscle_action(&mut self) -> Vec<MuscleActionProperty>
fn take_muscle_action(&mut self) -> Vec<MuscleActionProperty>
Take https://schema.org/muscleAction from Self
as owned vector.
sourcefn get_nerve(&self) -> &[NerveProperty]
fn get_nerve(&self) -> &[NerveProperty]
Get https://schema.org/nerve from Self
as borrowed slice.
sourcefn take_nerve(&mut self) -> Vec<NerveProperty>
fn take_nerve(&mut self) -> Vec<NerveProperty>
Take https://schema.org/nerve from Self
as owned vector.