pub struct TimeAssociationBody {
pub association_type: AssociationType,
pub leap_info: Option<LeapInfo>,
pub ncr_base: u64,
pub ncr_ext: u16,
pub association_timestamp_seconds: u64,
pub association_timestamp_nanoseconds: u32,
}Expand description
Time Association body (Table 11e, §5.2.11.4).
Fields§
§association_type: AssociationTypeassociation_type (4 bits, Table 11f).
leap_info: Option<LeapInfo>Leap info (present iff association_type == 1).
ncr_base: u64ncr_base (33 bits).
ncr_ext: u16ncr_ext (9 bits).
association_timestamp_seconds: u64association_timestamp_seconds (64 bits).
association_timestamp_nanoseconds: u32association_timestamp_nanoseconds (32 bits).
Trait Implementations§
Source§impl Clone for TimeAssociationBody
impl Clone for TimeAssociationBody
Source§fn clone(&self) -> TimeAssociationBody
fn clone(&self) -> TimeAssociationBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimeAssociationBody
impl Debug for TimeAssociationBody
impl Eq for TimeAssociationBody
Source§impl PartialEq for TimeAssociationBody
impl PartialEq for TimeAssociationBody
Source§fn eq(&self, other: &TimeAssociationBody) -> bool
fn eq(&self, other: &TimeAssociationBody) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TimeAssociationBody
impl Serialize for TimeAssociationBody
impl StructuralPartialEq for TimeAssociationBody
Auto Trait Implementations§
impl Freeze for TimeAssociationBody
impl RefUnwindSafe for TimeAssociationBody
impl Send for TimeAssociationBody
impl Sync for TimeAssociationBody
impl Unpin for TimeAssociationBody
impl UnsafeUnpin for TimeAssociationBody
impl UnwindSafe for TimeAssociationBody
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