pub struct RevokeLeaseArgs {
pub execution_id: ExecutionId,
pub expected_lease_id: Option<String>,
pub worker_instance_id: WorkerInstanceId,
pub reason: String,
}Fields§
§execution_id: ExecutionId§expected_lease_id: Option<String>If set, only revoke if this matches the current lease. Empty string skips check.
worker_instance_id: WorkerInstanceIdWorker instance whose lease set to clean up. Read from exec_core before calling.
reason: StringTrait Implementations§
Source§impl Clone for RevokeLeaseArgs
impl Clone for RevokeLeaseArgs
Source§fn clone(&self) -> RevokeLeaseArgs
fn clone(&self) -> RevokeLeaseArgs
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 RevokeLeaseArgs
impl Debug for RevokeLeaseArgs
Source§impl<'de> Deserialize<'de> for RevokeLeaseArgs
impl<'de> Deserialize<'de> for RevokeLeaseArgs
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 RevokeLeaseArgs
impl RefUnwindSafe for RevokeLeaseArgs
impl Send for RevokeLeaseArgs
impl Sync for RevokeLeaseArgs
impl Unpin for RevokeLeaseArgs
impl UnsafeUnpin for RevokeLeaseArgs
impl UnwindSafe for RevokeLeaseArgs
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