pub struct StreamInfo {
pub stream_id: String,
pub event_count: usize,
pub last_event_at: Option<DateTime<Utc>>,
pub estimated_bytes: Option<u64>,
pub events_last_7d: Option<usize>,
}Expand description
Information about a stream (entity_id)
Fields§
§stream_id: StringThe stream identifier (entity_id)
event_count: usizeTotal number of events in this stream
last_event_at: Option<DateTime<Utc>>Timestamp of the last event in this stream
estimated_bytes: Option<u64>Heap bytes held for this stream. Set only by list_streams_with_bytes.
events_last_7d: Option<usize>Events in this stream from the last seven days. Set only by list_streams_with_bytes.
Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Source§impl Debug for StreamInfo
impl Debug for StreamInfo
Auto Trait Implementations§
impl Forget for StreamInfo
impl Freeze for StreamInfo
impl Move for StreamInfo
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnsafeUnpin for StreamInfo
impl UnwindSafe for StreamInfo
Blanket Implementations§
impl<T> Allocation for T
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