#[non_exhaustive]pub struct ExpiredLeaseInfo {
pub execution_id: ExecutionId,
pub lease_id: LeaseId,
pub lease_epoch: LeaseEpoch,
pub worker_instance_id: WorkerInstanceId,
pub expires_at_ms: TimestampMs,
pub attempt_index: AttemptIndex,
}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.execution_id: ExecutionId§lease_id: LeaseId§lease_epoch: LeaseEpoch§worker_instance_id: WorkerInstanceId§expires_at_ms: TimestampMs§attempt_index: AttemptIndexImplementations§
Source§impl ExpiredLeaseInfo
impl ExpiredLeaseInfo
pub fn new( execution_id: ExecutionId, lease_id: LeaseId, lease_epoch: LeaseEpoch, worker_instance_id: WorkerInstanceId, expires_at_ms: TimestampMs, attempt_index: AttemptIndex, ) -> Self
Trait Implementations§
Source§impl Clone for ExpiredLeaseInfo
impl Clone for ExpiredLeaseInfo
Source§fn clone(&self) -> ExpiredLeaseInfo
fn clone(&self) -> ExpiredLeaseInfo
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 ExpiredLeaseInfo
impl Debug for ExpiredLeaseInfo
Source§impl PartialEq for ExpiredLeaseInfo
impl PartialEq for ExpiredLeaseInfo
impl Eq for ExpiredLeaseInfo
impl StructuralPartialEq for ExpiredLeaseInfo
Auto Trait Implementations§
impl Freeze for ExpiredLeaseInfo
impl RefUnwindSafe for ExpiredLeaseInfo
impl Send for ExpiredLeaseInfo
impl Sync for ExpiredLeaseInfo
impl Unpin for ExpiredLeaseInfo
impl UnsafeUnpin for ExpiredLeaseInfo
impl UnwindSafe for ExpiredLeaseInfo
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