pub struct KelEventRef<'a> {
pub prefix: &'a str,
pub seq: u64,
pub said: &'a str,
}Expand description
A descriptor of one event as seen in a local replay stream.
Two events collide if they share prefix + seq but differ in
said. Same-SAID collisions are replicas of the same event and
never indicate duplicity.
Fields§
§prefix: &'a strThe shared-KEL prefix (did:keri:E…) the event belongs to.
seq: u64The event sequence number.
said: &'a strThe event’s self-addressing identifier (the d field).
Trait Implementations§
Source§impl<'a> Clone for KelEventRef<'a>
impl<'a> Clone for KelEventRef<'a>
Source§fn clone(&self) -> KelEventRef<'a>
fn clone(&self) -> KelEventRef<'a>
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<'a> Debug for KelEventRef<'a>
impl<'a> Debug for KelEventRef<'a>
impl<'a> Eq for KelEventRef<'a>
Source§impl<'a> PartialEq for KelEventRef<'a>
impl<'a> PartialEq for KelEventRef<'a>
Source§fn eq(&self, other: &KelEventRef<'a>) -> bool
fn eq(&self, other: &KelEventRef<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for KelEventRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for KelEventRef<'a>
impl<'a> RefUnwindSafe for KelEventRef<'a>
impl<'a> Send for KelEventRef<'a>
impl<'a> Sync for KelEventRef<'a>
impl<'a> Unpin for KelEventRef<'a>
impl<'a> UnsafeUnpin for KelEventRef<'a>
impl<'a> UnwindSafe for KelEventRef<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.