pub struct NewSchedule {
pub id: Uuid,
pub created_at: SystemTime,
pub job_timing_policy: ScheduleJobTimingPolicy,
pub job_creation_policy: ScheduleJobCreationPolicy,
pub labels: IndexMap<String, String>,
pub time_range: Option<ScheduleTimeRange>,
pub metadata_json: Option<String>,
}
Expand description
A new schedule.
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 job.
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 NewSchedule
impl Clone for NewSchedule
Source§fn clone(&self) -> NewSchedule
fn clone(&self) -> NewSchedule
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 moreAuto Trait Implementations§
impl Freeze for NewSchedule
impl RefUnwindSafe for NewSchedule
impl Send for NewSchedule
impl Sync for NewSchedule
impl Unpin for NewSchedule
impl UnwindSafe for NewSchedule
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<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