Struct akka_projection_rs_grpc::EventEnvelope
source · pub struct EventEnvelope<E> {
pub persistence_id: PersistenceId,
pub timestamp: DateTime<Utc>,
pub seq_nr: u64,
pub event: E,
/* private fields */
}
Expand description
An envelope type that wraps a gRPC event associated with a specific entity.
Fields§
§persistence_id: PersistenceId
§timestamp: DateTime<Utc>
§seq_nr: u64
§event: E
Trait Implementations§
source§impl<E: Clone> Clone for EventEnvelope<E>
impl<E: Clone> Clone for EventEnvelope<E>
source§fn clone(&self) -> EventEnvelope<E>
fn clone(&self) -> EventEnvelope<E>
Returns a copy 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 moresource§impl<E: Debug> Debug for EventEnvelope<E>
impl<E: Debug> Debug for EventEnvelope<E>
source§impl<E: PartialEq> PartialEq for EventEnvelope<E>
impl<E: PartialEq> PartialEq for EventEnvelope<E>
source§fn eq(&self, other: &EventEnvelope<E>) -> bool
fn eq(&self, other: &EventEnvelope<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<E> TryFrom<Envelope<E>> for EventEnvelope<E>
impl<E> TryFrom<Envelope<E>> for EventEnvelope<E>
impl<E> StructuralPartialEq for EventEnvelope<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for EventEnvelope<E>where E: RefUnwindSafe,
impl<E> Send for EventEnvelope<E>where E: Send,
impl<E> Sync for EventEnvelope<E>where E: Sync,
impl<E> Unpin for EventEnvelope<E>where E: Unpin,
impl<E> UnwindSafe for EventEnvelope<E>where E: UnwindSafe,
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request