pub struct Declare {
pub ticket: u16,
pub queue: String,
pub passive: bool,
pub durable: bool,
pub exclusive: bool,
pub auto_delete: bool,
pub nowait: bool,
pub arguments: Table,
}Fields§
§ticket: u16§queue: String§passive: bool§durable: bool§exclusive: bool§auto_delete: bool§nowait: bool§arguments: TableTrait Implementations§
Source§impl Method for Declare
impl Method for Declare
fn decode(method_frame: MethodFrame) -> Result<Self>where
Self: Sized,
fn encode(&self) -> Result<EncodedMethod>
fn name(&self) -> &'static str
fn id(&self) -> u16
fn class_id(&self) -> u16
fn encode_method_frame(&self) -> Result<FramePayload>
fn to_frame(&self, channel: u16) -> Result<Frame>
impl Send for Declare
impl StructuralPartialEq for Declare
Auto Trait Implementations§
impl Freeze for Declare
impl RefUnwindSafe 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