pub struct PriorEvent {
pub seq: u64,
pub node_id: Option<String>,
pub data: Value,
}Expand description
A prior event located by find_prior_with_key. Carries enough to let
an idempotent-retry caller both return the recorded seq and verify the
retry payload matches what was originally written.
Fields§
§seq: u64The recorded seq of the matching event.
node_id: Option<String>The event’s top-level node_id, if any.
data: ValueThe event’s data payload.
Trait Implementations§
Source§impl Clone for PriorEvent
impl Clone for PriorEvent
Source§fn clone(&self) -> PriorEvent
fn clone(&self) -> PriorEvent
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 PriorEvent
impl Debug for PriorEvent
Source§impl PartialEq for PriorEvent
impl PartialEq for PriorEvent
Source§impl Serialize for PriorEvent
impl Serialize for PriorEvent
impl StructuralPartialEq for PriorEvent
Auto Trait Implementations§
impl Freeze for PriorEvent
impl RefUnwindSafe for PriorEvent
impl Send for PriorEvent
impl Sync for PriorEvent
impl Unpin for PriorEvent
impl UnsafeUnpin for PriorEvent
impl UnwindSafe for PriorEvent
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