pub trait SportsOrganizationTrait {
    // Required methods
    fn get_sport(&self) -> &[SportProperty];
    fn take_sport(&mut self) -> Vec<SportProperty>;
}
Expand description

This trait is for properties from https://schema.org/SportsOrganization.

Required Methods§

source

fn get_sport(&self) -> &[SportProperty]

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

source

fn take_sport(&mut self) -> Vec<SportProperty>

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

Implementors§