pub struct ScheduleDefinition {
pub scheduling: SchedulingPolicy,
pub job_template: JobDefinition,
pub labels: Vec<Label>,
pub time_range: TimeRange,
}Expand description
Definition of a schedule.
Fields§
§scheduling: SchedulingPolicyThe scheduling policy for the schedule.
job_template: JobDefinitionThe job template to be used when creating new jobs.
labels: Vec<Label>The labels of the schedule.
time_range: TimeRangeThe time range for the schedule.
Trait Implementations§
Source§impl Clone for ScheduleDefinition
impl Clone for ScheduleDefinition
Source§fn clone(&self) -> ScheduleDefinition
fn clone(&self) -> ScheduleDefinition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScheduleDefinition
impl Debug for ScheduleDefinition
Source§impl<'de> Deserialize<'de> for ScheduleDefinition
impl<'de> Deserialize<'de> for ScheduleDefinition
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
Auto Trait Implementations§
impl Freeze for ScheduleDefinition
impl RefUnwindSafe for ScheduleDefinition
impl Send for ScheduleDefinition
impl Sync for ScheduleDefinition
impl Unpin for ScheduleDefinition
impl UnwindSafe for ScheduleDefinition
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