pub struct StreamInfo {
pub length: u64,
pub groups: u64,
pub first_entry: Option<String>,
pub last_entry: Option<String>,
pub last_generated_id: String,
}Expand description
Information about a Redis Stream
Fields§
§length: u64The length of the stream (number of entries)
groups: u64The number of consumer groups
first_entry: Option<String>The ID of the first entry
last_entry: Option<String>The ID of the last entry
last_generated_id: StringThe last generated ID
Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Source§fn clone(&self) -> StreamInfo
fn clone(&self) -> StreamInfo
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 StreamInfo
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnwindSafe for StreamInfo
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