Struct fluvio::consumer::ConsumerOffset
source · pub struct ConsumerOffset {
pub consumer_id: String,
pub topic: String,
pub partition: PartitionId,
pub offset: i64,
pub modified_time: u64,
}
Fields§
§consumer_id: String
§topic: String
§partition: PartitionId
§offset: i64
§modified_time: u64
Trait Implementations§
source§impl Clone for ConsumerOffset
impl Clone for ConsumerOffset
source§fn clone(&self) -> ConsumerOffset
fn clone(&self) -> ConsumerOffset
Returns a copy 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 moresource§impl Debug for ConsumerOffset
impl Debug for ConsumerOffset
source§impl From<ConsumerOffset> for ConsumerOffset
impl From<ConsumerOffset> for ConsumerOffset
source§fn from(value: ConsumerOffsetRequest) -> Self
fn from(value: ConsumerOffsetRequest) -> Self
Converts to this type from the input type.
source§impl Ord for ConsumerOffset
impl Ord for ConsumerOffset
source§fn cmp(&self, other: &ConsumerOffset) -> Ordering
fn cmp(&self, other: &ConsumerOffset) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ConsumerOffset
impl PartialEq for ConsumerOffset
source§fn eq(&self, other: &ConsumerOffset) -> bool
fn eq(&self, other: &ConsumerOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConsumerOffset
impl PartialOrd for ConsumerOffset
source§fn partial_cmp(&self, other: &ConsumerOffset) -> Option<Ordering>
fn partial_cmp(&self, other: &ConsumerOffset) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ConsumerOffset
impl Serialize for ConsumerOffset
impl Eq for ConsumerOffset
impl StructuralPartialEq for ConsumerOffset
Auto Trait Implementations§
impl Freeze for ConsumerOffset
impl RefUnwindSafe for ConsumerOffset
impl Send for ConsumerOffset
impl Sync for ConsumerOffset
impl Unpin for ConsumerOffset
impl UnwindSafe for ConsumerOffset
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.