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: Uuid
The unique identifier of the schedule.
created_at: SystemTime
The time the schedule was created.
job_timing_policy: ScheduleJobTimingPolicy
Scheduling policy for the schedule.
job_creation_policy: ScheduleJobCreationPolicy
Policy for new jobs created by the schedule.
labels: IndexMap<String, String>
Labels of the schedule.
active: bool
Whether the schedule is active.
cancelled: bool
Whether 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 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 ScheduleDetails
impl Debug 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<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<W> IntoExecutionHandler for W
impl<W> IntoExecutionHandler for W
Source§fn handler<J>(self) -> Arc<dyn ExecutionHandlerRaw + Send + Sync>where
Self: ExecutionHandler<J>,
J: JobType,
fn handler<J>(self) -> Arc<dyn ExecutionHandlerRaw + Send + Sync>where
Self: ExecutionHandler<J>,
J: JobType,
Convert
self
into a [RawHandler
] that can be registered
in workers.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