pub struct Schedule {
pub enabled_days_of_month: Option<Vec<i64>>,
pub enabled_days_of_week: Option<Vec<DayOfWeek>>,
pub enabled_intervals: Option<Vec<String>>,
pub enabled_months_of_year: Option<Vec<MonthOfYear>>,
pub initial_start_time: Option<String>,
pub lifetime: Option<String>,
pub max_occurrences: Option<i64>,
pub name: Option<String>,
pub recurrence_interval: Option<String>,
}
Expand description
Schedule a series of occurrences.
Fields§
§enabled_days_of_month: Option<Vec<i64>>
Days of the month when scheduled occurrences are enabled. 0
indicates that every day of the month is enabled.
enabled_days_of_week: Option<Vec<DayOfWeek>>
Days of the week when scheduled occurrences are enabled, for enabled days of the month and months of the year. If not present, all days of the week are enabled.
enabled_intervals: Option<Vec<String>>
Intervals when scheduled occurrences are enabled.
enabled_months_of_year: Option<Vec<MonthOfYear>>
The months of the year when scheduled occurrences are enabled. If not present, all months of the year are enabled.
initial_start_time: Option<String>
The date and time when the initial occurrence is scheduled to occur.
lifetime: Option<String>
The time after provisioning when the schedule as a whole expires.
max_occurrences: Option<i64>
The maximum number of scheduled occurrences.
name: Option<String>
The schedule name.
recurrence_interval: Option<String>
The duration between consecutive occurrences.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Schedule
impl<'de> Deserialize<'de> for Schedule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for Schedule
impl Metadata<'static> for Schedule
Source§const JSON_SCHEMA: &'static str = "Schedule.v1_2_4.json"
const JSON_SCHEMA: &'static str = "Schedule.v1_2_4.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnwindSafe for Schedule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more