Trait schema_org_types::SportsTeamTrait
source · pub trait SportsTeamTrait {
// Required methods
fn get_athlete(&self) -> &[AthleteProperty];
fn take_athlete(&mut self) -> Vec<AthleteProperty>;
fn get_coach(&self) -> &[CoachProperty];
fn take_coach(&mut self) -> Vec<CoachProperty>;
fn get_gender(&self) -> &[GenderProperty];
fn take_gender(&mut self) -> Vec<GenderProperty>;
}
Expand description
This trait is for properties from https://schema.org/SportsTeam.
Required Methods§
sourcefn get_athlete(&self) -> &[AthleteProperty]
fn get_athlete(&self) -> &[AthleteProperty]
Get https://schema.org/athlete from Self
as borrowed slice.
sourcefn take_athlete(&mut self) -> Vec<AthleteProperty>
fn take_athlete(&mut self) -> Vec<AthleteProperty>
Take https://schema.org/athlete from Self
as owned vector.
sourcefn get_coach(&self) -> &[CoachProperty]
fn get_coach(&self) -> &[CoachProperty]
Get https://schema.org/coach from Self
as borrowed slice.
sourcefn take_coach(&mut self) -> Vec<CoachProperty>
fn take_coach(&mut self) -> Vec<CoachProperty>
Take https://schema.org/coach from Self
as owned vector.
sourcefn get_gender(&self) -> &[GenderProperty]
fn get_gender(&self) -> &[GenderProperty]
Get https://schema.org/gender from Self
as borrowed slice.
sourcefn take_gender(&mut self) -> Vec<GenderProperty>
fn take_gender(&mut self) -> Vec<GenderProperty>
Take https://schema.org/gender from Self
as owned vector.