pub struct DecodedEvent {
pub id: EventId,
pub event_type: String,
pub payload: Vec<u8>,
}Expand description
Decoded event representation
Applications define their own event types and implement decoding
Fields§
§id: EventId§event_type: String§payload: Vec<u8>Trait Implementations§
Source§impl Clone for DecodedEvent
impl Clone for DecodedEvent
Source§fn clone(&self) -> DecodedEvent
fn clone(&self) -> DecodedEvent
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DecodedEvent
impl RefUnwindSafe for DecodedEvent
impl Send for DecodedEvent
impl Sync for DecodedEvent
impl Unpin for DecodedEvent
impl UnwindSafe for DecodedEvent
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