pub trait CivicStructureTrait {
// Required methods
fn get_opening_hours(&self) -> &[OpeningHoursProperty];
fn take_opening_hours(&mut self) -> Vec<OpeningHoursProperty>;
}
Expand description
This trait is for properties from https://schema.org/CivicStructure.
Required Methods§
sourcefn get_opening_hours(&self) -> &[OpeningHoursProperty]
fn get_opening_hours(&self) -> &[OpeningHoursProperty]
Get https://schema.org/openingHours from Self
as borrowed slice.
sourcefn take_opening_hours(&mut self) -> Vec<OpeningHoursProperty>
fn take_opening_hours(&mut self) -> Vec<OpeningHoursProperty>
Take https://schema.org/openingHours from Self
as owned vector.