pub struct ScheduleDetails {
pub id: Uuid,
pub created_at: SystemTime,
pub job_timing_policy: ScheduleJobTimingPolicy,
pub job_creation_policy: ScheduleJobCreationPolicy,
pub labels: IndexMap<String, String>,
pub active: bool,
pub cancelled: bool,
pub time_range: Option<ScheduleTimeRange>,
pub metadata_json: Option<String>,
}Expand description
Details of a schedule.
Associated jobs are not included on purpose as there can be many jobs associated with a schedule, additional queries can be made to get the jobs.
Fields§
§id: UuidThe unique identifier of the schedule.
created_at: SystemTimeThe time the schedule was created.
job_timing_policy: ScheduleJobTimingPolicyScheduling policy for the schedule.
job_creation_policy: ScheduleJobCreationPolicyPolicy for new jobs created by the schedule.
labels: IndexMap<String, String>Labels of the schedule.
active: boolWhether the schedule is active.
cancelled: boolWhether the schedule was cancelled.
time_range: Option<ScheduleTimeRange>The time range for the schedule.
metadata_json: Option<String>Arbitrary metadata in JSON format.
Trait Implementations§
Source§impl Clone for ScheduleDetails
impl Clone for ScheduleDetails
Source§fn clone(&self) -> ScheduleDetails
fn clone(&self) -> ScheduleDetails
Returns a copy 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 ScheduleDetails
impl Debug for ScheduleDetails
Source§impl From<ScheduleDetails> for Schedule
impl From<ScheduleDetails> for Schedule
Source§fn from(value: ScheduleDetails) -> Self
fn from(value: ScheduleDetails) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScheduleDetails
impl PartialEq for ScheduleDetails
impl Eq for ScheduleDetails
impl StructuralPartialEq for ScheduleDetails
Auto Trait Implementations§
impl Freeze for ScheduleDetails
impl RefUnwindSafe for ScheduleDetails
impl Send for ScheduleDetails
impl Sync for ScheduleDetails
impl Unpin for ScheduleDetails
impl UnwindSafe for ScheduleDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request