pub struct Inbound {
pub topic: String,
pub partition: i32,
pub offset: i64,
pub value: Bytes,
pub headers: Vec<(String, Option<Bytes>)>,
}Expand description
Delivered message.
Fields§
§topic: StringTopic name.
partition: i32Partition index.
offset: i64Record offset.
value: BytesRecord value.
headers: Vec<(String, Option<Bytes>)>Headers in deterministic order.
Trait Implementations§
impl Eq for Inbound
impl StructuralPartialEq for Inbound
Auto Trait Implementations§
impl !Freeze for Inbound
impl RefUnwindSafe for Inbound
impl Send for Inbound
impl Sync for Inbound
impl Unpin for Inbound
impl UnsafeUnpin for Inbound
impl UnwindSafe for Inbound
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.