pub struct Header {
pub timestamp: u32,
pub extended: u32,
pub record_type: u16,
pub sub_type: u16,
pub length: u32,
}Expand description
Represents the MRT header accompanying every MRT record.
Fields§
§timestamp: u32The time at which this message was generated. Represented in UNIX time.
extended: u32Microsecond resolution of the time on which this message was generated. Zero if not present.
record_type: u16The main type of the MRT record.
sub_type: u16The sub-type of the MRT record.
length: u32The length in bytes of the MRT record excluding the MRT header.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
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