pub struct EventEnvelope {
pub persistence_id: String,
pub sequence_nr: u64,
pub payload: Vec<u8>,
pub offset: u64,
pub tags: Vec<String>,
}Fields§
§persistence_id: String§sequence_nr: u64§payload: Vec<u8>§offset: u64Trait Implementations§
Source§impl Clone for EventEnvelope
impl Clone for EventEnvelope
Source§fn clone(&self) -> EventEnvelope
fn clone(&self) -> EventEnvelope
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 EventEnvelope
impl Debug for EventEnvelope
Source§impl From<PersistentRepr> for EventEnvelope
impl From<PersistentRepr> for EventEnvelope
Source§fn from(r: PersistentRepr) -> Self
fn from(r: PersistentRepr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventEnvelope
impl RefUnwindSafe for EventEnvelope
impl Send for EventEnvelope
impl Sync for EventEnvelope
impl Unpin for EventEnvelope
impl UnsafeUnpin for EventEnvelope
impl UnwindSafe for EventEnvelope
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