pub struct Transfer {
pub handle: Handle,
pub delivery_id: Option<DeliveryNumber>,
pub delivery_tag: Option<DeliveryTag>,
pub message_format: Option<MessageFormat>,
pub settled: Option<bool>,
pub more: bool,
pub rcv_settle_mode: Option<ReceiverSettleMode>,
pub state: Option<DeliveryState>,
pub resume: bool,
pub aborted: bool,
pub batchable: bool,
pub body: Option<TransferBody>,
}
Fields§
§handle: Handle
§delivery_id: Option<DeliveryNumber>
§delivery_tag: Option<DeliveryTag>
§message_format: Option<MessageFormat>
§settled: Option<bool>
§more: bool
§rcv_settle_mode: Option<ReceiverSettleMode>
§state: Option<DeliveryState>
§resume: bool
§aborted: bool
§batchable: bool
§body: Option<TransferBody>
Implementations§
Source§impl Transfer
impl Transfer
pub fn handle(&self) -> Handle
pub fn delivery_id(&self) -> Option<DeliveryNumber>
pub fn delivery_tag(&self) -> Option<&DeliveryTag>
pub fn message_format(&self) -> Option<MessageFormat>
pub fn settled(&self) -> Option<bool>
pub fn more(&self) -> bool
pub fn rcv_settle_mode(&self) -> Option<ReceiverSettleMode>
pub fn state(&self) -> Option<&DeliveryState>
pub fn resume(&self) -> bool
pub fn aborted(&self) -> bool
pub fn batchable(&self) -> bool
pub fn body(&self) -> Option<&TransferBody>
Trait Implementations§
impl StructuralPartialEq for Transfer
Auto Trait Implementations§
impl !Freeze for Transfer
impl !RefUnwindSafe for Transfer
impl Send for Transfer
impl !Sync for Transfer
impl Unpin for Transfer
impl UnwindSafe for Transfer
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