pub struct StreamMetadata {
pub stream_id: StreamId,
pub stream_name: StreamName,
pub data_class: DataClass,
pub placement: Placement,
pub current_offset: Offset,
}Expand description
Metadata describing a stream’s configuration and current state.
Fields§
§stream_id: StreamId§stream_name: StreamName§data_class: DataClass§placement: Placement§current_offset: OffsetImplementations§
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 moreSource§impl Debug for StreamMetadata
impl Debug for StreamMetadata
Source§impl<'de> Deserialize<'de> for StreamMetadata
impl<'de> Deserialize<'de> for StreamMetadata
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
Source§impl Hash for StreamMetadata
impl Hash for StreamMetadata
Source§impl Ord for StreamMetadata
impl Ord for StreamMetadata
Source§fn cmp(&self, other: &StreamMetadata) -> Ordering
fn cmp(&self, other: &StreamMetadata) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StreamMetadata
impl PartialEq for StreamMetadata
Source§impl PartialOrd for StreamMetadata
impl PartialOrd for StreamMetadata
Source§impl Serialize for StreamMetadata
impl Serialize for StreamMetadata
impl Eq for StreamMetadata
impl StructuralPartialEq for StreamMetadata
Auto Trait Implementations§
impl Freeze for StreamMetadata
impl RefUnwindSafe for StreamMetadata
impl Send for StreamMetadata
impl Sync for StreamMetadata
impl Unpin 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