pub struct RenewLeaseArgs {
pub execution_id: ExecutionId,
pub attempt_index: AttemptIndex,
pub attempt_id: AttemptId,
pub lease_id: LeaseId,
pub lease_epoch: LeaseEpoch,
pub lease_ttl_ms: u64,
pub lease_history_grace_ms: u64,
}Fields§
§execution_id: ExecutionId§attempt_index: AttemptIndex§attempt_id: AttemptId§lease_id: LeaseId§lease_epoch: LeaseEpoch§lease_ttl_ms: u64How long to extend the lease (milliseconds).
lease_history_grace_ms: u64Grace period after lease_expires_at before the lease_current key is auto-deleted.
Trait Implementations§
Source§impl Clone for RenewLeaseArgs
impl Clone for RenewLeaseArgs
Source§fn clone(&self) -> RenewLeaseArgs
fn clone(&self) -> RenewLeaseArgs
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 RenewLeaseArgs
impl Debug for RenewLeaseArgs
Source§impl<'de> Deserialize<'de> for RenewLeaseArgs
impl<'de> Deserialize<'de> for RenewLeaseArgs
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 RenewLeaseArgs
impl RefUnwindSafe for RenewLeaseArgs
impl Send for RenewLeaseArgs
impl Sync for RenewLeaseArgs
impl Unpin for RenewLeaseArgs
impl UnsafeUnpin for RenewLeaseArgs
impl UnwindSafe for RenewLeaseArgs
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