Struct akka_projection_rs_grpc::producer::Transformation  
source · pub struct Transformation<E> {
    pub entity_id: EntityId,
    pub timestamp: DateTime<Utc>,
    pub seq_nr: u64,
    pub source: Source,
    pub event: Option<E>,
}Expand description
The result of a transformation function for the purposes of passing data on to a gRPC producer.
Fields§
§entity_id: EntityId§timestamp: DateTime<Utc>§seq_nr: u64§source: Source§event: Option<E>Auto Trait Implementations§
impl<E> RefUnwindSafe for Transformation<E>where E: RefUnwindSafe,
impl<E> Send for Transformation<E>where E: Send,
impl<E> Sync for Transformation<E>where E: Sync,
impl<E> Unpin for Transformation<E>where E: Unpin,
impl<E> UnwindSafe for Transformation<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