pub trait LocationFeatureSpecificationTrait {
// Required methods
fn get_hours_available(&self) -> &[HoursAvailableProperty];
fn take_hours_available(&mut self) -> Vec<HoursAvailableProperty>;
fn get_valid_from(&self) -> &[ValidFromProperty];
fn take_valid_from(&mut self) -> Vec<ValidFromProperty>;
fn get_valid_through(&self) -> &[ValidThroughProperty];
fn take_valid_through(&mut self) -> Vec<ValidThroughProperty>;
}
Expand description
This trait is for properties from https://schema.org/LocationFeatureSpecification.
Required Methods§
sourcefn get_hours_available(&self) -> &[HoursAvailableProperty]
fn get_hours_available(&self) -> &[HoursAvailableProperty]
Get https://schema.org/hoursAvailable from Self
as borrowed slice.
sourcefn take_hours_available(&mut self) -> Vec<HoursAvailableProperty>
fn take_hours_available(&mut self) -> Vec<HoursAvailableProperty>
Take https://schema.org/hoursAvailable from Self
as owned vector.
sourcefn get_valid_from(&self) -> &[ValidFromProperty]
fn get_valid_from(&self) -> &[ValidFromProperty]
Get https://schema.org/validFrom from Self
as borrowed slice.
sourcefn take_valid_from(&mut self) -> Vec<ValidFromProperty>
fn take_valid_from(&mut self) -> Vec<ValidFromProperty>
Take https://schema.org/validFrom from Self
as owned vector.
sourcefn get_valid_through(&self) -> &[ValidThroughProperty]
fn get_valid_through(&self) -> &[ValidThroughProperty]
Get https://schema.org/validThrough from Self
as borrowed slice.
sourcefn take_valid_through(&mut self) -> Vec<ValidThroughProperty>
fn take_valid_through(&mut self) -> Vec<ValidThroughProperty>
Take https://schema.org/validThrough from Self
as owned vector.