pub struct AttemptSnapshot {
pub event: CloudEvent,
pub descriptor: ProgramDescriptor,
pub lease: Lease,
pub deadline: Timestamp,
pub authority_deadline: Timestamp,
pub state: AttemptState,
pub execution_may_have_started: bool,
pub last_renewal: Option<RenewCommand>,
pub quiescence: Quiescence,
pub settlement: Option<AcceptedSettlement>,
pub finished_at: Option<Timestamp>,
}Fields§
§event: CloudEvent§descriptor: ProgramDescriptor§lease: Lease§deadline: Timestamp§state: AttemptState§execution_may_have_started: bool§last_renewal: Option<RenewCommand>§quiescence: Quiescence§settlement: Option<AcceptedSettlement>§finished_at: Option<Timestamp>Trait Implementations§
Source§impl Clone for AttemptSnapshot
impl Clone for AttemptSnapshot
Source§impl Debug for AttemptSnapshot
impl Debug for AttemptSnapshot
Source§impl<'de> Deserialize<'de> for AttemptSnapshot
impl<'de> Deserialize<'de> for AttemptSnapshot
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
Auto Trait Implementations§
impl Freeze for AttemptSnapshot
impl RefUnwindSafe for AttemptSnapshot
impl Send for AttemptSnapshot
impl Sync for AttemptSnapshot
impl Unpin for AttemptSnapshot
impl UnsafeUnpin for AttemptSnapshot
impl UnwindSafe for AttemptSnapshot
Blanket Implementations§
impl<T> ArtifactLease for T
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