pub struct AmqpExchange {
pub exchange_name: String,
pub routing_keys: Option<Vec<String>>,
}Fields§
§exchange_name: StringName of the exchange to bind the consumed queue to
routing_keys: Option<Vec<String>>Routing keys used to bind the queue to the exchange
Implementations§
Source§impl AmqpExchange
impl AmqpExchange
pub fn new(exchange_name: String) -> AmqpExchange
Trait Implementations§
Source§impl Clone for AmqpExchange
impl Clone for AmqpExchange
Source§fn clone(&self) -> AmqpExchange
fn clone(&self) -> AmqpExchange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AmqpExchange
impl Debug for AmqpExchange
Source§impl Default for AmqpExchange
impl Default for AmqpExchange
Source§fn default() -> AmqpExchange
fn default() -> AmqpExchange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AmqpExchange
impl<'de> Deserialize<'de> for AmqpExchange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AmqpExchange
impl PartialEq for AmqpExchange
Source§impl Serialize for AmqpExchange
impl Serialize for AmqpExchange
impl StructuralPartialEq for AmqpExchange
Auto Trait Implementations§
impl Freeze for AmqpExchange
impl RefUnwindSafe for AmqpExchange
impl Send for AmqpExchange
impl Sync for AmqpExchange
impl Unpin for AmqpExchange
impl UnsafeUnpin for AmqpExchange
impl UnwindSafe for AmqpExchange
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