pub struct ConsumerState {
pub name: String,
pub last_acked: Option<SeqNo>,
}Expand description
State of a consumer group
Fields§
§name: StringConsumer group name
last_acked: Option<SeqNo>Last acknowledged sequence number (None if never acked)
Trait Implementations§
Source§impl Clone for ConsumerState
impl Clone for ConsumerState
Source§fn clone(&self) -> ConsumerState
fn clone(&self) -> ConsumerState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConsumerState
impl RefUnwindSafe for ConsumerState
impl Send for ConsumerState
impl Sync for ConsumerState
impl Unpin for ConsumerState
impl UnsafeUnpin for ConsumerState
impl UnwindSafe for ConsumerState
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