pub struct PublishOption {
pub exchange: AmqpString,
pub routing_key: AmqpString,
pub is_mandatory: bool,
pub is_immediate: bool,
}
Expand description
A meta option of Publish
message on AMQP.
Fields§
§exchange: AmqpString
§routing_key: AmqpString
§is_mandatory: bool
§is_immediate: bool
Trait Implementations§
Source§impl Clone for PublishOption
impl Clone for PublishOption
Source§fn clone(&self) -> PublishOption
fn clone(&self) -> PublishOption
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 moreAuto Trait Implementations§
impl !Freeze for PublishOption
impl RefUnwindSafe for PublishOption
impl Send for PublishOption
impl Sync for PublishOption
impl Unpin for PublishOption
impl UnwindSafe for PublishOption
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