pub struct StreamMetadata {
pub config: StreamConfig,
pub next_offset: Offset,
pub closed: bool,
pub total_bytes: u64,
pub message_count: u64,
pub created_at: DateTime<Utc>,
}Expand description
Stream metadata
Fields§
§config: StreamConfigStream configuration
next_offset: OffsetNext offset that will be assigned
closed: boolWhether the stream is closed
total_bytes: u64Total bytes stored in this stream
message_count: u64Number of messages in the stream
created_at: DateTime<Utc>Creation timestamp
Trait Implementations§
Source§impl Clone for StreamMetadata
impl Clone for StreamMetadata
Source§fn clone(&self) -> StreamMetadata
fn clone(&self) -> StreamMetadata
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 StreamMetadata
impl RefUnwindSafe for StreamMetadata
impl Send for StreamMetadata
impl Sync for StreamMetadata
impl Unpin for StreamMetadata
impl UnsafeUnpin for StreamMetadata
impl UnwindSafe for StreamMetadata
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