pub struct StoredEntry {
pub payload: Vec<u8>,
pub sequence: u64,
pub timestamp: u64,
}Expand description
Entry read from a durable haematite stream.
Fields§
§payload: Vec<u8>Opaque stored payload bytes.
sequence: u64Sequence number assigned by the stream.
timestamp: u64Store timestamp associated with the entry.
Trait Implementations§
Source§impl Clone for StoredEntry
impl Clone for StoredEntry
Source§fn clone(&self) -> StoredEntry
fn clone(&self) -> StoredEntry
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 StoredEntry
impl Debug for StoredEntry
impl Eq for StoredEntry
Source§impl From<Event> for StoredEntry
impl From<Event> for StoredEntry
Source§impl PartialEq for StoredEntry
impl PartialEq for StoredEntry
Source§fn eq(&self, other: &StoredEntry) -> bool
fn eq(&self, other: &StoredEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoredEntry
Auto Trait Implementations§
impl Freeze for StoredEntry
impl RefUnwindSafe for StoredEntry
impl Send for StoredEntry
impl Sync for StoredEntry
impl Unpin for StoredEntry
impl UnsafeUnpin for StoredEntry
impl UnwindSafe for StoredEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.