pub struct SequenceInfo {
pub consumer_sequence: u64,
pub stream_sequence: u64,
pub last_active: Option<OffsetDateTime>,
}
Expand description
Information about a consumer and the stream it is consuming
Fields§
§consumer_sequence: u64
How far along the consumer has progressed
stream_sequence: u64
The aggregate for all stream consumers
last_active: Option<OffsetDateTime>
Trait Implementations§
Source§impl Clone for SequenceInfo
impl Clone for SequenceInfo
Source§fn clone(&self) -> SequenceInfo
fn clone(&self) -> SequenceInfo
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 SequenceInfo
impl Debug for SequenceInfo
Source§impl<'de> Deserialize<'de> for SequenceInfo
impl<'de> Deserialize<'de> for SequenceInfo
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 SequenceInfo
impl PartialEq for SequenceInfo
impl Copy for SequenceInfo
impl Eq for SequenceInfo
impl StructuralPartialEq for SequenceInfo
Auto Trait Implementations§
impl Freeze for SequenceInfo
impl RefUnwindSafe for SequenceInfo
impl Send for SequenceInfo
impl Sync for SequenceInfo
impl Unpin for SequenceInfo
impl UnwindSafe for SequenceInfo
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