Trait schema_org_types::ScheduleTrait
source · pub trait ScheduleTrait {
Show 26 methods
// Required methods
fn get_by_day(&self) -> &[ByDayProperty];
fn take_by_day(&mut self) -> Vec<ByDayProperty>;
fn get_by_month(&self) -> &[ByMonthProperty];
fn take_by_month(&mut self) -> Vec<ByMonthProperty>;
fn get_by_month_day(&self) -> &[ByMonthDayProperty];
fn take_by_month_day(&mut self) -> Vec<ByMonthDayProperty>;
fn get_by_month_week(&self) -> &[ByMonthWeekProperty];
fn take_by_month_week(&mut self) -> Vec<ByMonthWeekProperty>;
fn get_duration(&self) -> &[DurationProperty];
fn take_duration(&mut self) -> Vec<DurationProperty>;
fn get_end_date(&self) -> &[EndDateProperty];
fn take_end_date(&mut self) -> Vec<EndDateProperty>;
fn get_end_time(&self) -> &[EndTimeProperty];
fn take_end_time(&mut self) -> Vec<EndTimeProperty>;
fn get_except_date(&self) -> &[ExceptDateProperty];
fn take_except_date(&mut self) -> Vec<ExceptDateProperty>;
fn get_repeat_count(&self) -> &[RepeatCountProperty];
fn take_repeat_count(&mut self) -> Vec<RepeatCountProperty>;
fn get_repeat_frequency(&self) -> &[RepeatFrequencyProperty];
fn take_repeat_frequency(&mut self) -> Vec<RepeatFrequencyProperty>;
fn get_schedule_timezone(&self) -> &[ScheduleTimezoneProperty];
fn take_schedule_timezone(&mut self) -> Vec<ScheduleTimezoneProperty>;
fn get_start_date(&self) -> &[StartDateProperty];
fn take_start_date(&mut self) -> Vec<StartDateProperty>;
fn get_start_time(&self) -> &[StartTimeProperty];
fn take_start_time(&mut self) -> Vec<StartTimeProperty>;
}
Expand description
This trait is for properties from https://schema.org/Schedule.
Required Methods§
sourcefn get_by_day(&self) -> &[ByDayProperty]
fn get_by_day(&self) -> &[ByDayProperty]
Get https://schema.org/byDay from Self
as borrowed slice.
sourcefn take_by_day(&mut self) -> Vec<ByDayProperty>
fn take_by_day(&mut self) -> Vec<ByDayProperty>
Take https://schema.org/byDay from Self
as owned vector.
sourcefn get_by_month(&self) -> &[ByMonthProperty]
fn get_by_month(&self) -> &[ByMonthProperty]
Get https://schema.org/byMonth from Self
as borrowed slice.
sourcefn take_by_month(&mut self) -> Vec<ByMonthProperty>
fn take_by_month(&mut self) -> Vec<ByMonthProperty>
Take https://schema.org/byMonth from Self
as owned vector.
sourcefn get_by_month_day(&self) -> &[ByMonthDayProperty]
fn get_by_month_day(&self) -> &[ByMonthDayProperty]
Get https://schema.org/byMonthDay from Self
as borrowed slice.
sourcefn take_by_month_day(&mut self) -> Vec<ByMonthDayProperty>
fn take_by_month_day(&mut self) -> Vec<ByMonthDayProperty>
Take https://schema.org/byMonthDay from Self
as owned vector.
sourcefn get_by_month_week(&self) -> &[ByMonthWeekProperty]
fn get_by_month_week(&self) -> &[ByMonthWeekProperty]
Get https://schema.org/byMonthWeek from Self
as borrowed slice.
sourcefn take_by_month_week(&mut self) -> Vec<ByMonthWeekProperty>
fn take_by_month_week(&mut self) -> Vec<ByMonthWeekProperty>
Take https://schema.org/byMonthWeek from Self
as owned vector.
sourcefn get_duration(&self) -> &[DurationProperty]
fn get_duration(&self) -> &[DurationProperty]
Get https://schema.org/duration from Self
as borrowed slice.
sourcefn take_duration(&mut self) -> Vec<DurationProperty>
fn take_duration(&mut self) -> Vec<DurationProperty>
Take https://schema.org/duration from Self
as owned vector.
sourcefn get_end_date(&self) -> &[EndDateProperty]
fn get_end_date(&self) -> &[EndDateProperty]
Get https://schema.org/endDate from Self
as borrowed slice.
sourcefn take_end_date(&mut self) -> Vec<EndDateProperty>
fn take_end_date(&mut self) -> Vec<EndDateProperty>
Take https://schema.org/endDate from Self
as owned vector.
sourcefn get_end_time(&self) -> &[EndTimeProperty]
fn get_end_time(&self) -> &[EndTimeProperty]
Get https://schema.org/endTime from Self
as borrowed slice.
sourcefn take_end_time(&mut self) -> Vec<EndTimeProperty>
fn take_end_time(&mut self) -> Vec<EndTimeProperty>
Take https://schema.org/endTime from Self
as owned vector.
sourcefn get_except_date(&self) -> &[ExceptDateProperty]
fn get_except_date(&self) -> &[ExceptDateProperty]
Get https://schema.org/exceptDate from Self
as borrowed slice.
sourcefn take_except_date(&mut self) -> Vec<ExceptDateProperty>
fn take_except_date(&mut self) -> Vec<ExceptDateProperty>
Take https://schema.org/exceptDate from Self
as owned vector.
sourcefn get_repeat_count(&self) -> &[RepeatCountProperty]
fn get_repeat_count(&self) -> &[RepeatCountProperty]
Get https://schema.org/repeatCount from Self
as borrowed slice.
sourcefn take_repeat_count(&mut self) -> Vec<RepeatCountProperty>
fn take_repeat_count(&mut self) -> Vec<RepeatCountProperty>
Take https://schema.org/repeatCount from Self
as owned vector.
sourcefn get_repeat_frequency(&self) -> &[RepeatFrequencyProperty]
fn get_repeat_frequency(&self) -> &[RepeatFrequencyProperty]
Get https://schema.org/repeatFrequency from Self
as borrowed slice.
sourcefn take_repeat_frequency(&mut self) -> Vec<RepeatFrequencyProperty>
fn take_repeat_frequency(&mut self) -> Vec<RepeatFrequencyProperty>
Take https://schema.org/repeatFrequency from Self
as owned vector.
sourcefn get_schedule_timezone(&self) -> &[ScheduleTimezoneProperty]
fn get_schedule_timezone(&self) -> &[ScheduleTimezoneProperty]
Get https://schema.org/scheduleTimezone from Self
as borrowed slice.
sourcefn take_schedule_timezone(&mut self) -> Vec<ScheduleTimezoneProperty>
fn take_schedule_timezone(&mut self) -> Vec<ScheduleTimezoneProperty>
Take https://schema.org/scheduleTimezone from Self
as owned vector.
sourcefn get_start_date(&self) -> &[StartDateProperty]
fn get_start_date(&self) -> &[StartDateProperty]
Get https://schema.org/startDate from Self
as borrowed slice.
sourcefn take_start_date(&mut self) -> Vec<StartDateProperty>
fn take_start_date(&mut self) -> Vec<StartDateProperty>
Take https://schema.org/startDate from Self
as owned vector.
sourcefn get_start_time(&self) -> &[StartTimeProperty]
fn get_start_time(&self) -> &[StartTimeProperty]
Get https://schema.org/startTime from Self
as borrowed slice.
sourcefn take_start_time(&mut self) -> Vec<StartTimeProperty>
fn take_start_time(&mut self) -> Vec<StartTimeProperty>
Take https://schema.org/startTime from Self
as owned vector.