[−][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]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExchangeDeclareOptions
[src]
impl Default for ExchangeDeclareOptions
[src]
fn default() -> ExchangeDeclareOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExchangeDeclareOptions
impl Send for ExchangeDeclareOptions
impl Sync for ExchangeDeclareOptions
impl Unpin for ExchangeDeclareOptions
impl UnwindSafe for ExchangeDeclareOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,