Struct rabbitmq_stream_protocol::message::Properties
source · [−]pub struct Properties {Show 13 fields
pub message_id: Option<MessageId>,
pub user_id: Option<Vec<u8>>,
pub to: Option<String>,
pub subject: Option<String>,
pub reply_to: Option<String>,
pub correlation_id: Option<MessageId>,
pub content_type: Option<Symbol>,
pub content_encoding: Option<Symbol>,
pub absolute_expiry_time: Option<Timestamp>,
pub creation_time: Option<Timestamp>,
pub group_id: Option<String>,
pub group_sequence: Option<u32>,
pub reply_to_group_id: Option<String>,
}
Expand description
Properties of the message
Fields
message_id: Option<MessageId>
user_id: Option<Vec<u8>>
to: Option<String>
subject: Option<String>
reply_to: Option<String>
correlation_id: Option<MessageId>
content_type: Option<Symbol>
content_encoding: Option<Symbol>
absolute_expiry_time: Option<Timestamp>
creation_time: Option<Timestamp>
group_id: Option<String>
group_sequence: Option<u32>
reply_to_group_id: Option<String>
Trait Implementations
sourceimpl Clone for Properties
impl Clone for Properties
sourcefn clone(&self) -> Properties
fn clone(&self) -> Properties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Properties
impl Debug for Properties
sourceimpl Default for Properties
impl Default for Properties
sourcefn default() -> Properties
fn default() -> Properties
Returns the “default value” for a type. Read more
sourceimpl PartialEq<Properties> for Properties
impl PartialEq<Properties> for Properties
sourcefn eq(&self, other: &Properties) -> bool
fn eq(&self, other: &Properties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Properties) -> bool
fn ne(&self, other: &Properties) -> bool
This method tests for !=
.
impl StructuralPartialEq for Properties
Auto Trait Implementations
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more