pub struct PollMessagesResponseHeader {
pub partition_id: u32,
pub current_offset: u64,
pub messages_count: u32,
}Expand description
The 16-byte metadata prefix of a PollMessages response.
Layout: partition_id(4) + current_offset(8) + messages_count(4).
Fields§
§partition_id: u32§current_offset: u64§messages_count: u32Trait Implementations§
Source§impl Clone for PollMessagesResponseHeader
impl Clone for PollMessagesResponseHeader
Source§fn clone(&self) -> PollMessagesResponseHeader
fn clone(&self) -> PollMessagesResponseHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PollMessagesResponseHeader
impl Debug for PollMessagesResponseHeader
impl Eq for PollMessagesResponseHeader
impl StructuralPartialEq for PollMessagesResponseHeader
Source§impl WireDecode for PollMessagesResponseHeader
impl WireDecode for PollMessagesResponseHeader
Auto Trait Implementations§
impl Freeze for PollMessagesResponseHeader
impl RefUnwindSafe for PollMessagesResponseHeader
impl Send for PollMessagesResponseHeader
impl Sync for PollMessagesResponseHeader
impl Unpin for PollMessagesResponseHeader
impl UnsafeUnpin for PollMessagesResponseHeader
impl UnwindSafe for PollMessagesResponseHeader
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