pub struct DeclareOk {
pub queue: String,
pub message_count: u32,
pub consumer_count: u32,
}Fields§
§queue: String§message_count: u32§consumer_count: u32Trait Implementations§
Source§impl Method for DeclareOk
impl Method for DeclareOk
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 DeclareOk
impl StructuralPartialEq for DeclareOk
Auto Trait Implementations§
impl Freeze for DeclareOk
impl RefUnwindSafe for DeclareOk
impl Sync for DeclareOk
impl Unpin for DeclareOk
impl UnwindSafe for DeclareOk
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