Struct async_nats::jetstream::consumer::SequenceInfo
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)