pub struct IdempotencyRecord {
pub executed_at: i64,
pub cached_result: String,
}Expand description
Record of a completed idempotent write operation.
Fields§
§executed_at: i64Unix timestamp of first execution.
cached_result: StringThe success message returned on first execution (returned verbatim on retries).
Trait Implementations§
Source§impl Clone for IdempotencyRecord
impl Clone for IdempotencyRecord
Source§fn clone(&self) -> IdempotencyRecord
fn clone(&self) -> IdempotencyRecord
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 moreAuto Trait Implementations§
impl Freeze for IdempotencyRecord
impl RefUnwindSafe for IdempotencyRecord
impl Send for IdempotencyRecord
impl Sync for IdempotencyRecord
impl Unpin for IdempotencyRecord
impl UnsafeUnpin for IdempotencyRecord
impl UnwindSafe for IdempotencyRecord
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