pub struct EncodedEvent {
pub id: EventId,
pub destination: String,
pub key: Option<Bytes>,
pub key_schema: Option<WireSchema>,
pub payload: Option<Bytes>,
pub payload_schema: Option<WireSchema>,
pub headers: BTreeMap<String, String>,
}Fields§
§id: EventId§destination: String§key: Option<Bytes>§key_schema: Option<WireSchema>§payload: Option<Bytes>§payload_schema: Option<WireSchema>§headers: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for EncodedEvent
impl Clone for EncodedEvent
Auto Trait Implementations§
impl !Freeze for EncodedEvent
impl Forget for EncodedEvent
impl Move for EncodedEvent
impl RefUnwindSafe for EncodedEvent
impl Send for EncodedEvent
impl Sync for EncodedEvent
impl Unpin for EncodedEvent
impl UnsafeUnpin for EncodedEvent
impl UnwindSafe for EncodedEvent
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