Struct amq_protocol::protocol::exchange::Declare
source · pub struct Declare {
pub exchange: ShortString,
pub kind: ShortString,
pub passive: Boolean,
pub durable: Boolean,
pub auto_delete: Boolean,
pub internal: Boolean,
pub nowait: Boolean,
pub arguments: FieldTable,
}
Expand description
declare (Generated)
Fields§
§exchange: ShortString
exchange (Generated)
kind: ShortString
type (Generated)
passive: Boolean
passive (Generated)
durable: Boolean
durable (Generated)
auto_delete: Boolean
auto-delete (Generated)
internal: Boolean
internal (Generated)
nowait: Boolean
nowait (Generated)
arguments: FieldTable
arguments (Generated)
Implementations§
source§impl Declare
impl Declare
sourcepub fn get_amqp_class_id(&self) -> Identifier
pub fn get_amqp_class_id(&self) -> Identifier
Get the AMQP class id for declare (Generated)
sourcepub fn get_amqp_method_id(&self) -> Identifier
pub fn get_amqp_method_id(&self) -> Identifier
Get the AMQP method id for declare (Generated)
Trait Implementations§
source§impl PartialEq for Declare
impl PartialEq for Declare
impl StructuralPartialEq for Declare
Auto Trait Implementations§
impl Freeze for Declare
impl RefUnwindSafe for Declare
impl Send for Declare
impl Sync for Declare
impl Unpin for Declare
impl UnwindSafe for Declare
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