Struct rabbitmq_stream_client::types::StreamMetadata
source · pub struct StreamMetadata {
pub stream: String,
pub response_code: ResponseCode,
pub leader: Broker,
pub replicas: Vec<Broker>,
}
Fields§
§stream: String
§response_code: ResponseCode
§leader: Broker
§replicas: Vec<Broker>
Trait Implementations§
source§impl Debug for StreamMetadata
impl Debug 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 StructuralEq 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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more