[−][src]Struct amiquip::ExchangeDeclareOptions
Options passed to the server when declaring an exchange.
The default
implementation sets all boolean fields to false and has an empty
set of arguments.
Fields
durable: bool
If true, declares exchange as durable (survives server restarts); if false, declares exchange as transient (will be deleted on a server restart).
auto_delete: bool
If true, declare exchange as auto-delete: it will be deleted once no queues are bound to it. The server will keep the exchange around for "a short period of time" to allow queues to be bound after it is created.
internal: bool
If true, declare exchange as internal: it may not be used by publishers, but only for exchange-to-exchange bindings.
arguments: FieldTable
Extra arguments; these are optional in general, but may be needed for some plugins or server-specific features.
Trait Implementations
impl Clone for ExchangeDeclareOptions
[src]
fn clone(&self) -> ExchangeDeclareOptions
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for ExchangeDeclareOptions
[src]
fn default() -> ExchangeDeclareOptions
[src]
impl Debug for ExchangeDeclareOptions
[src]
Auto Trait Implementations
impl Send for ExchangeDeclareOptions
impl Sync for ExchangeDeclareOptions
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,