pub struct ProducerSnapshot {
pub producer_id: String,
pub producer_epoch: u64,
pub producer_seq: u64,
pub last_start_offset: u64,
pub last_next_offset: u64,
pub last_closed: bool,
pub last_items: Vec<ProducerAppendRecord>,
}Fields§
§producer_id: String§producer_epoch: u64§producer_seq: u64§last_start_offset: u64§last_next_offset: u64§last_closed: bool§last_items: Vec<ProducerAppendRecord>Trait Implementations§
Source§impl Clone for ProducerSnapshot
impl Clone for ProducerSnapshot
Source§fn clone(&self) -> ProducerSnapshot
fn clone(&self) -> ProducerSnapshot
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 ProducerSnapshot
impl Debug for ProducerSnapshot
Source§impl<'de> Deserialize<'de> for ProducerSnapshot
impl<'de> Deserialize<'de> for ProducerSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProducerSnapshot
impl PartialEq for ProducerSnapshot
Source§fn eq(&self, other: &ProducerSnapshot) -> bool
fn eq(&self, other: &ProducerSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProducerSnapshot
impl Serialize for ProducerSnapshot
impl Eq for ProducerSnapshot
impl StructuralPartialEq for ProducerSnapshot
Auto Trait Implementations§
impl Freeze for ProducerSnapshot
impl RefUnwindSafe for ProducerSnapshot
impl Send for ProducerSnapshot
impl Sync for ProducerSnapshot
impl Unpin for ProducerSnapshot
impl UnsafeUnpin for ProducerSnapshot
impl UnwindSafe for ProducerSnapshot
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