pub struct GetOk {
pub delivery_tag: u64,
pub redelivered: bool,
pub exchange: String,
pub routing_key: String,
pub message_count: u32,
}Fields§
§delivery_tag: u64§redelivered: bool§exchange: String§routing_key: String§message_count: u32Trait Implementations§
Source§impl Method for GetOk
impl Method for GetOk
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 GetOk
impl StructuralPartialEq for GetOk
Auto Trait Implementations§
impl Freeze for GetOk
impl RefUnwindSafe for GetOk
impl Sync for GetOk
impl Unpin for GetOk
impl UnwindSafe for GetOk
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