[][src]Struct sbd_lib::mt::ConfirmationStatus

pub struct ConfirmationStatus {
    pub message_id: u32,
    pub imei: [u8; 15],
    pub auto_id: u32,
    pub status: i16,
}

The Message Delivery Confirmation of a mobile-originated session.

The descriptions for these codes are taken directly from the DirectIP documentation.

Fields

message_id: u32

The Unique Client Message ID this message.

imei: [u8; 15]

The device id.

auto_id: u32

The Iridium Gateway id for this message.

status: i16

Message Status

Implementations

impl ConfirmationStatus[src]

pub fn status(&self) -> bool[src]

pub fn read_from(read: &mut dyn Read) -> Result<Self>[src]

pub fn write_to<W: Write>(&self, write: &mut W) -> Result<()>[src]

pub fn len(&self) -> usize[src]

Trait Implementations

impl Clone for ConfirmationStatus[src]

impl Copy for ConfirmationStatus[src]

impl Debug for ConfirmationStatus[src]

impl Eq for ConfirmationStatus[src]

impl From<ConfirmationStatus> for Status[src]

impl From<ConfirmationStatus> for InformationElement[src]

impl PartialEq<ConfirmationStatus> for ConfirmationStatus[src]

impl StructuralEq for ConfirmationStatus[src]

impl StructuralPartialEq for ConfirmationStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.