Struct sbp::messages::observation::observation_header::ObservationHeader
source · pub struct ObservationHeader {
pub t: GpsTime,
pub n_obs: u8,
}
Expand description
Header for observation message
Header of a GNSS observation message.
Fields§
§t: GpsTime
GNSS time of this observation
n_obs: u8
Total number of observations. First nibble is the size of the sequence (n), second nibble is the zero-indexed counter (ith packet of n)
Trait Implementations§
source§impl Clone for ObservationHeader
impl Clone for ObservationHeader
source§fn clone(&self) -> ObservationHeader
fn clone(&self) -> ObservationHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObservationHeader
impl Debug for ObservationHeader
source§impl<'de> Deserialize<'de> for ObservationHeader
impl<'de> Deserialize<'de> for ObservationHeader
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ObservationHeader
impl PartialEq for ObservationHeader
source§fn eq(&self, other: &ObservationHeader) -> bool
fn eq(&self, other: &ObservationHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ObservationHeader
impl Serialize for ObservationHeader
impl StructuralPartialEq for ObservationHeader
Auto Trait Implementations§
impl Freeze for ObservationHeader
impl RefUnwindSafe for ObservationHeader
impl Send for ObservationHeader
impl Sync for ObservationHeader
impl Unpin for ObservationHeader
impl UnwindSafe for ObservationHeader
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