Struct ReceiptAction
#[repr(transparent)]pub struct ReceiptAction(pub i8);Expand description
What the modem does with a received message (wms_receipt_action_enum_v01).
Tuple Fields§
§0: i8Implementations§
§impl ReceiptAction
impl ReceiptAction
pub const DISCARD: Self
pub const DISCARD: Self
Value 0.
pub const STORE_AND_NOTIFY: Self
pub const STORE_AND_NOTIFY: Self
Value 1.
pub const TRANSFER_ONLY: Self
pub const TRANSFER_ONLY: Self
Value 2.
pub const TRANSFER_AND_ACK: Self
pub const TRANSFER_AND_ACK: Self
Value 3.
pub const UNKNOWN: Self
pub const UNKNOWN: Self
Value -1.
Trait Implementations§
§impl Clone for ReceiptAction
impl Clone for ReceiptAction
§fn clone(&self) -> ReceiptAction
fn clone(&self) -> ReceiptAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReceiptAction
§impl Debug for ReceiptAction
impl Debug for ReceiptAction
§impl Decode for ReceiptAction
impl Decode for ReceiptAction
§impl Encode for ReceiptAction
impl Encode for ReceiptAction
impl Eq for ReceiptAction
§impl From<ReceiptAction> for i8
impl From<ReceiptAction> for i8
§fn from(value: ReceiptAction) -> Self
fn from(value: ReceiptAction) -> Self
Converts to this type from the input type.
§impl From<i8> for ReceiptAction
impl From<i8> for ReceiptAction
§impl Hash for ReceiptAction
impl Hash for ReceiptAction
§impl PartialEq for ReceiptAction
impl PartialEq for ReceiptAction
impl StructuralPartialEq for ReceiptAction
Auto Trait Implementations§
impl Freeze for ReceiptAction
impl RefUnwindSafe for ReceiptAction
impl Send for ReceiptAction
impl Sync for ReceiptAction
impl Unpin for ReceiptAction
impl UnsafeUnpin for ReceiptAction
impl UnwindSafe for ReceiptAction
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