pub struct Schedule {
Show 25 fields pub by_day: Vec<ByDayProperty>, pub by_month: Vec<ByMonthProperty>, pub by_month_day: Vec<ByMonthDayProperty>, pub by_month_week: Vec<ByMonthWeekProperty>, pub duration: Vec<DurationProperty>, pub end_date: Vec<EndDateProperty>, pub end_time: Vec<EndTimeProperty>, pub except_date: Vec<ExceptDateProperty>, pub repeat_count: Vec<RepeatCountProperty>, pub repeat_frequency: Vec<RepeatFrequencyProperty>, pub schedule_timezone: Vec<ScheduleTimezoneProperty>, pub start_date: Vec<StartDateProperty>, pub start_time: Vec<StartTimeProperty>, pub additional_type: Vec<AdditionalTypeProperty>, pub alternate_name: Vec<AlternateNameProperty>, pub description: Vec<DescriptionProperty>, pub disambiguating_description: Vec<DisambiguatingDescriptionProperty>, pub identifier: Vec<IdentifierProperty>, pub image: Vec<ImageProperty>, pub main_entity_of_page: Vec<MainEntityOfPageProperty>, pub name: Vec<NameProperty>, pub potential_action: Vec<PotentialActionProperty>, pub same_as: Vec<SameAsProperty>, pub subject_of: Vec<SubjectOfProperty>, pub url: Vec<UrlProperty>,
}
Expand description

Fields§

§by_day: Vec<ByDayProperty>§by_month: Vec<ByMonthProperty>§by_month_day: Vec<ByMonthDayProperty>§by_month_week: Vec<ByMonthWeekProperty>§duration: Vec<DurationProperty>§end_date: Vec<EndDateProperty>§end_time: Vec<EndTimeProperty>§except_date: Vec<ExceptDateProperty>§repeat_count: Vec<RepeatCountProperty>§repeat_frequency: Vec<RepeatFrequencyProperty>§schedule_timezone: Vec<ScheduleTimezoneProperty>§start_date: Vec<StartDateProperty>§start_time: Vec<StartTimeProperty>§additional_type: Vec<AdditionalTypeProperty>§alternate_name: Vec<AlternateNameProperty>§description: Vec<DescriptionProperty>§disambiguating_description: Vec<DisambiguatingDescriptionProperty>§identifier: Vec<IdentifierProperty>§image: Vec<ImageProperty>§main_entity_of_page: Vec<MainEntityOfPageProperty>§name: Vec<NameProperty>§potential_action: Vec<PotentialActionProperty>§same_as: Vec<SameAsProperty>§subject_of: Vec<SubjectOfProperty>§url: Vec<UrlProperty>

Trait Implementations§

source§

impl ScheduleTrait for Schedule

source§

fn get_by_day(&self) -> &[ByDayProperty]

Get https://schema.org/byDay from Self as borrowed slice.
source§

fn take_by_day(&mut self) -> Vec<ByDayProperty>

Take https://schema.org/byDay from Self as owned vector.
source§

fn get_by_month(&self) -> &[ByMonthProperty]

Get https://schema.org/byMonth from Self as borrowed slice.
source§

fn take_by_month(&mut self) -> Vec<ByMonthProperty>

Take https://schema.org/byMonth from Self as owned vector.
source§

fn get_by_month_day(&self) -> &[ByMonthDayProperty]

Get https://schema.org/byMonthDay from Self as borrowed slice.
source§

fn take_by_month_day(&mut self) -> Vec<ByMonthDayProperty>

Take https://schema.org/byMonthDay from Self as owned vector.
source§

fn get_by_month_week(&self) -> &[ByMonthWeekProperty]

Get https://schema.org/byMonthWeek from Self as borrowed slice.
source§

fn take_by_month_week(&mut self) -> Vec<ByMonthWeekProperty>

Take https://schema.org/byMonthWeek from Self as owned vector.
source§

fn get_duration(&self) -> &[DurationProperty]

Get https://schema.org/duration from Self as borrowed slice.
source§

fn take_duration(&mut self) -> Vec<DurationProperty>

Take https://schema.org/duration from Self as owned vector.
source§

fn get_end_date(&self) -> &[EndDateProperty]

Get https://schema.org/endDate from Self as borrowed slice.
source§

fn take_end_date(&mut self) -> Vec<EndDateProperty>

Take https://schema.org/endDate from Self as owned vector.
source§

fn get_end_time(&self) -> &[EndTimeProperty]

Get https://schema.org/endTime from Self as borrowed slice.
source§

fn take_end_time(&mut self) -> Vec<EndTimeProperty>

Take https://schema.org/endTime from Self as owned vector.
source§

fn get_except_date(&self) -> &[ExceptDateProperty]

Get https://schema.org/exceptDate from Self as borrowed slice.
source§

fn take_except_date(&mut self) -> Vec<ExceptDateProperty>

Take https://schema.org/exceptDate from Self as owned vector.
source§

fn get_repeat_count(&self) -> &[RepeatCountProperty]

Get https://schema.org/repeatCount from Self as borrowed slice.
source§

fn take_repeat_count(&mut self) -> Vec<RepeatCountProperty>

Take https://schema.org/repeatCount from Self as owned vector.
source§

fn get_repeat_frequency(&self) -> &[RepeatFrequencyProperty]

Get https://schema.org/repeatFrequency from Self as borrowed slice.
source§

fn take_repeat_frequency(&mut self) -> Vec<RepeatFrequencyProperty>

Take https://schema.org/repeatFrequency from Self as owned vector.
source§

fn get_schedule_timezone(&self) -> &[ScheduleTimezoneProperty]

Get https://schema.org/scheduleTimezone from Self as borrowed slice.
source§

fn take_schedule_timezone(&mut self) -> Vec<ScheduleTimezoneProperty>

Take https://schema.org/scheduleTimezone from Self as owned vector.
source§

fn get_start_date(&self) -> &[StartDateProperty]

Get https://schema.org/startDate from Self as borrowed slice.
source§

fn take_start_date(&mut self) -> Vec<StartDateProperty>

Take https://schema.org/startDate from Self as owned vector.
source§

fn get_start_time(&self) -> &[StartTimeProperty]

Get https://schema.org/startTime from Self as borrowed slice.
source§

fn take_start_time(&mut self) -> Vec<StartTimeProperty>

Take https://schema.org/startTime from Self as owned vector.
source§

impl ThingTrait for Schedule

source§

fn get_additional_type(&self) -> &[AdditionalTypeProperty]

Get https://schema.org/additionalType from Self as borrowed slice.
source§

fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>

Take https://schema.org/additionalType from Self as owned vector.
source§

fn get_alternate_name(&self) -> &[AlternateNameProperty]

Get https://schema.org/alternateName from Self as borrowed slice.
source§

fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>

Take https://schema.org/alternateName from Self as owned vector.
source§

fn get_description(&self) -> &[DescriptionProperty]

Get https://schema.org/description from Self as borrowed slice.
source§

fn take_description(&mut self) -> Vec<DescriptionProperty>

Take https://schema.org/description from Self as owned vector.
source§

fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]

source§

fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>

source§

fn get_identifier(&self) -> &[IdentifierProperty]

Get https://schema.org/identifier from Self as borrowed slice.
source§

fn take_identifier(&mut self) -> Vec<IdentifierProperty>

Take https://schema.org/identifier from Self as owned vector.
source§

fn get_image(&self) -> &[ImageProperty]

Get https://schema.org/image from Self as borrowed slice.
source§

fn take_image(&mut self) -> Vec<ImageProperty>

Take https://schema.org/image from Self as owned vector.
source§

fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]

Get https://schema.org/mainEntityOfPage from Self as borrowed slice.
source§

fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>

Take https://schema.org/mainEntityOfPage from Self as owned vector.
source§

fn get_name(&self) -> &[NameProperty]

Get https://schema.org/name from Self as borrowed slice.
source§

fn take_name(&mut self) -> Vec<NameProperty>

Take https://schema.org/name from Self as owned vector.
source§

fn get_potential_action(&self) -> &[PotentialActionProperty]

Get https://schema.org/potentialAction from Self as borrowed slice.
source§

fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>

Take https://schema.org/potentialAction from Self as owned vector.
source§

fn get_same_as(&self) -> &[SameAsProperty]

Get https://schema.org/sameAs from Self as borrowed slice.
source§

fn take_same_as(&mut self) -> Vec<SameAsProperty>

Take https://schema.org/sameAs from Self as owned vector.
source§

fn get_subject_of(&self) -> &[SubjectOfProperty]

Get https://schema.org/subjectOf from Self as borrowed slice.
source§

fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>

Take https://schema.org/subjectOf from Self as owned vector.
source§

fn get_url(&self) -> &[UrlProperty]

Get https://schema.org/url from Self as borrowed slice.
source§

fn take_url(&mut self) -> Vec<UrlProperty>

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.