pub struct StreamMeta {
pub seq: u64,
pub first: u64,
}Expand description
A stream’s durable counters.
Fields§
§seq: u64Last appended sequence (0 = empty).
first: u64Oldest retained sequence (seq+1 when empty after trims).
Trait Implementations§
Source§impl Clone for StreamMeta
impl Clone for StreamMeta
Source§fn clone(&self) -> StreamMeta
fn clone(&self) -> StreamMeta
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 moreimpl Copy for StreamMeta
Source§impl Debug for StreamMeta
impl Debug for StreamMeta
Source§impl Default for StreamMeta
impl Default for StreamMeta
Source§fn default() -> StreamMeta
fn default() -> StreamMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamMeta
impl<'de> Deserialize<'de> for StreamMeta
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
impl Eq for StreamMeta
Source§impl PartialEq for StreamMeta
impl PartialEq for StreamMeta
Source§impl Serialize for StreamMeta
impl Serialize for StreamMeta
impl StructuralPartialEq for StreamMeta
Auto Trait Implementations§
impl Freeze for StreamMeta
impl RefUnwindSafe for StreamMeta
impl Send for StreamMeta
impl Sync for StreamMeta
impl Unpin for StreamMeta
impl UnsafeUnpin for StreamMeta
impl UnwindSafe for StreamMeta
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