pub struct StreamDetails {
pub id: u32,
pub created_at: IggyTimestamp,
pub name: String,
pub size: IggyByteSize,
pub messages_count: u64,
pub topics_count: u32,
pub topics: Vec<Topic>,
}Expand description
StreamDetails represents the detailed information about the stream.
It consists of the following fields:
id: the unique identifier (numeric) of the stream.created_at: the timestamp when the stream was created.name: the unique name of the stream.size_bytes: the total size of the stream in bytes.messages_count: the total number of messages in the stream.topics_count: the total number of topics in the stream.topics: the list of topics in the stream.
Fields§
§id: u32The unique identifier (numeric) of the stream.
created_at: IggyTimestampThe timestamp when the stream was created.
name: StringThe unique name of the stream.
size: IggyByteSizeThe total size of the stream in bytes.
messages_count: u64The total number of messages in the stream.
topics_count: u32The total number of topics in the stream.
topics: Vec<Topic>The collection of topics in the stream.
Trait Implementations§
Source§impl Debug for StreamDetails
impl Debug for StreamDetails
Source§impl<'de> Deserialize<'de> for StreamDetails
impl<'de> Deserialize<'de> for StreamDetails
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
Auto Trait Implementations§
impl Freeze for StreamDetails
impl RefUnwindSafe for StreamDetails
impl Send for StreamDetails
impl Sync for StreamDetails
impl Unpin for StreamDetails
impl UnsafeUnpin for StreamDetails
impl UnwindSafe for StreamDetails
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more