Struct rabbitmq_stream_protocol::commands::metadata::StreamMetadata
source · pub struct StreamMetadata {
pub stream_name: String,
pub code: ResponseCode,
pub leader_reference: u16,
pub replicas_references: Vec<u16>,
}
Fields§
§stream_name: String
§code: ResponseCode
§leader_reference: u16
§replicas_references: Vec<u16>
Trait Implementations§
source§impl Debug for StreamMetadata
impl Debug for StreamMetadata
source§impl Decoder for StreamMetadata
impl Decoder for StreamMetadata
source§impl Encoder for StreamMetadata
impl Encoder for StreamMetadata
source§impl PartialEq for StreamMetadata
impl PartialEq for StreamMetadata
source§fn eq(&self, other: &StreamMetadata) -> bool
fn eq(&self, other: &StreamMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StreamMetadata
impl StructuralPartialEq for StreamMetadata
Auto Trait Implementations§
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