pub struct SavedResumeKey {
pub key: String,
pub work: WorkRef,
pub revision: u64,
pub request: ResumeRequest,
}Expand description
One accepted resume under its request key, saved for replay.
Fields§
§key: StringThe caller’s idempotency key.
work: WorkRefThe work the resume targeted.
revision: u64The paused revision the resume named.
request: ResumeRequestThe request it was accepted for (decision + injected inputs).
Trait Implementations§
Source§impl Clone for SavedResumeKey
impl Clone for SavedResumeKey
Source§fn clone(&self) -> SavedResumeKey
fn clone(&self) -> SavedResumeKey
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 SavedResumeKey
impl Debug for SavedResumeKey
Source§impl<'de> Deserialize<'de> for SavedResumeKey
impl<'de> Deserialize<'de> for SavedResumeKey
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 SavedResumeKey
impl RefUnwindSafe for SavedResumeKey
impl Send for SavedResumeKey
impl Sync for SavedResumeKey
impl Unpin for SavedResumeKey
impl UnsafeUnpin for SavedResumeKey
impl UnwindSafe for SavedResumeKey
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