pub struct Header {
pub auto_id: u32,
pub imei: [u8; 15],
pub session_status: SessionStatus,
pub momsn: u16,
pub mtmsn: u16,
pub time_of_session: DateTime<Utc>,
}
Expand description
A mobile-originated header.
Fields§
§auto_id: u32
The Iridium Gateway id for this message.
imei: [u8; 15]
The device id.
session_status: SessionStatus
The session status.
momsn: u16
The mobile originated message sequence number.
mtmsn: u16
The mobile terminated message sequence number.
time_of_session: DateTime<Utc>
The time of iridium session.
Trait Implementations§
source§impl From<Header> for InformationElement
impl From<Header> for InformationElement
source§fn from(header: Header) -> InformationElement
fn from(header: Header) -> InformationElement
Converts to this type from the input type.
source§impl PartialEq<Header> for Header
impl PartialEq<Header> for Header
impl Copy for Header
impl Eq for Header
impl StructuralEq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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