Struct rabbitmq_stream_client::types::Header
source · pub struct Header {
pub durable: bool,
pub priority: u8,
pub ttl: Option<u32>,
pub first_acquirer: bool,
pub delivery_count: u32,
}
Expand description
Header of the message
Fields§
§durable: bool
§priority: u8
§ttl: Option<u32>
§first_acquirer: bool
§delivery_count: u32
Trait Implementations§
source§impl PartialEq for Header
impl PartialEq for Header
impl Eq for Header
impl StructuralEq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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