pub struct SavedCancelKey {
pub key: String,
pub work: WorkRef,
pub receipt: CancelReceipt,
}Expand description
One accepted cancel under its request key, saved for replay.
Fields§
§key: StringThe caller’s idempotency key.
work: WorkRefThe work the cancel targeted.
receipt: CancelReceiptThe original cancel receipt.
Trait Implementations§
Source§impl Clone for SavedCancelKey
impl Clone for SavedCancelKey
Source§fn clone(&self) -> SavedCancelKey
fn clone(&self) -> SavedCancelKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SavedCancelKey
impl Debug for SavedCancelKey
Source§impl<'de> Deserialize<'de> for SavedCancelKey
impl<'de> Deserialize<'de> for SavedCancelKey
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 SavedCancelKey
impl RefUnwindSafe for SavedCancelKey
impl Send for SavedCancelKey
impl Sync for SavedCancelKey
impl Unpin for SavedCancelKey
impl UnsafeUnpin for SavedCancelKey
impl UnwindSafe for SavedCancelKey
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