pub struct Message<M> {
pub key: Option<Bytes>,
pub ts_ms_utc: Option<i64>,
pub payload: Option<M>,
pub partition: i32,
}Fields§
§key: Option<Bytes>§ts_ms_utc: Option<i64>§payload: Option<M>§partition: i32Implementations§
Trait Implementations§
Source§impl<M> KafkaMessage for Message<M>
impl<M> KafkaMessage for Message<M>
impl<M> StructuralPartialEq for Message<M>
Auto Trait Implementations§
impl<M> !Freeze for Message<M>
impl<M> RefUnwindSafe for Message<M>where
M: RefUnwindSafe,
impl<M> Send for Message<M>where
M: Send,
impl<M> Sync for Message<M>where
M: Sync,
impl<M> Unpin for Message<M>where
M: Unpin,
impl<M> UnwindSafe for Message<M>where
M: 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