Struct novatel_oem6_api::VersionLog [−][src]
pub struct VersionLog { pub recv_status: ReceiverStatusFlags, pub time_status: u8, pub week: u16, pub ms: i32, pub num_components: u32, pub components: Vec<Component>, }
Log message containing version information
Fields
recv_status: ReceiverStatusFlags
Current status of receiver
time_status: u8
Validity of the time information
week: u16
GPS reference week
ms: i32
Milliseconds into GPS reference week
num_components: u32
Number of components present in this structure
components: Vec<Component>
Version information for each component present in the system
Methods
impl VersionLog
[src]
impl VersionLog
pub fn new(
recv_status: ReceiverStatusFlags,
time_status: u8,
week: u16,
ms: i32,
raw: Vec<u8>
) -> Option<Self>
[src]
pub fn new(
recv_status: ReceiverStatusFlags,
time_status: u8,
week: u16,
ms: i32,
raw: Vec<u8>
) -> Option<Self>
Convert a raw data buffer into a useable struct
Trait Implementations
impl Clone for VersionLog
[src]
impl Clone for VersionLog
fn clone(&self) -> VersionLog
[src]
fn clone(&self) -> VersionLog
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for VersionLog
[src]
impl Default for VersionLog
fn default() -> VersionLog
[src]
fn default() -> VersionLog
Returns the "default value" for a type. Read more
impl Debug for VersionLog
[src]
impl Debug for VersionLog
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for VersionLog
[src]
impl PartialEq for VersionLog
fn eq(&self, other: &VersionLog) -> bool
[src]
fn eq(&self, other: &VersionLog) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &VersionLog) -> bool
[src]
fn ne(&self, other: &VersionLog) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for VersionLog
impl Send for VersionLog
impl Sync for VersionLog
impl Sync for VersionLog