#[non_exhaustive]pub struct ScheduleBackfill {
pub start_time: SystemTime,
pub end_time: SystemTime,
pub overlap_policy: ScheduleOverlapPolicy,
}Expand description
A backfill request for a schedule, specifying a time range of missed runs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_time: SystemTimeStart of the time range to backfill.
end_time: SystemTimeEnd of the time range to backfill.
overlap_policy: ScheduleOverlapPolicyHow overlapping runs are handled during backfill.
Implementations§
Source§impl ScheduleBackfill
impl ScheduleBackfill
Sourcepub fn new(
start_time: SystemTime,
end_time: SystemTime,
) -> ScheduleBackfillBuilder
pub fn new( start_time: SystemTime, end_time: SystemTime, ) -> ScheduleBackfillBuilder
Create an instance of ScheduleBackfill using the builder syntax
Trait Implementations§
Source§impl Clone for ScheduleBackfill
impl Clone for ScheduleBackfill
Source§fn clone(&self) -> ScheduleBackfill
fn clone(&self) -> ScheduleBackfill
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScheduleBackfill
impl Debug for ScheduleBackfill
Source§impl PartialEq for ScheduleBackfill
impl PartialEq for ScheduleBackfill
Source§fn eq(&self, other: &ScheduleBackfill) -> bool
fn eq(&self, other: &ScheduleBackfill) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScheduleBackfill
Auto Trait Implementations§
impl Freeze for ScheduleBackfill
impl RefUnwindSafe for ScheduleBackfill
impl Send for ScheduleBackfill
impl Sync for ScheduleBackfill
impl Unpin for ScheduleBackfill
impl UnsafeUnpin for ScheduleBackfill
impl UnwindSafe for ScheduleBackfill
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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