pub struct SavedSubmitKey {
pub key: String,
pub parts: Vec<ContentPart>,
pub receipt: WorkReceipt,
}Expand description
One accepted submit under its request key, saved for replay.
Fields§
§key: StringThe caller’s idempotency key.
parts: Vec<ContentPart>The parts the request was accepted for; a same-key retry with different parts is a conflict after restore, exactly as before it.
receipt: WorkReceiptThe original acceptance receipt.
Trait Implementations§
Source§impl Clone for SavedSubmitKey
impl Clone for SavedSubmitKey
Source§fn clone(&self) -> SavedSubmitKey
fn clone(&self) -> SavedSubmitKey
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 SavedSubmitKey
impl Debug for SavedSubmitKey
Source§impl<'de> Deserialize<'de> for SavedSubmitKey
impl<'de> Deserialize<'de> for SavedSubmitKey
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 SavedSubmitKey
impl RefUnwindSafe for SavedSubmitKey
impl Send for SavedSubmitKey
impl Sync for SavedSubmitKey
impl Unpin for SavedSubmitKey
impl UnsafeUnpin for SavedSubmitKey
impl UnwindSafe for SavedSubmitKey
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