#[non_exhaustive]pub struct ScheduleOrigin {
pub schedule_id: String,
pub occurrence_time: Option<String>,
pub trigger_number: Option<u64>,
}Expand description
The schedule fire that started a run, read from the run’s own
ScheduleTriggered history event.
occurrence_time is the time the scheduler evaluated, as recorded (RFC
3339): the jittered fire time for a tick, or the enumerated time for a
backfill. It is not the run’s actual start time. It is None for a fire
recorded without an occurrence, such as a manual trigger.
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.schedule_id: String§occurrence_time: Option<String>§trigger_number: Option<u64>Trait Implementations§
Source§impl Clone for ScheduleOrigin
impl Clone for ScheduleOrigin
Source§fn clone(&self) -> ScheduleOrigin
fn clone(&self) -> ScheduleOrigin
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 ScheduleOrigin
impl Debug for ScheduleOrigin
Source§impl<'de> Deserialize<'de> for ScheduleOrigin
impl<'de> Deserialize<'de> for ScheduleOrigin
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
Source§impl PartialEq for ScheduleOrigin
impl PartialEq for ScheduleOrigin
Source§impl Serialize for ScheduleOrigin
impl Serialize for ScheduleOrigin
impl Eq for ScheduleOrigin
impl StructuralPartialEq for ScheduleOrigin
Auto Trait Implementations§
impl Freeze for ScheduleOrigin
impl RefUnwindSafe for ScheduleOrigin
impl Send for ScheduleOrigin
impl Sync for ScheduleOrigin
impl Unpin for ScheduleOrigin
impl UnwindSafe for ScheduleOrigin
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