pub struct InfoTimestampSubmessage {
pub timestamp: HeTimestamp,
pub invalidate: bool,
}Expand description
InfoTimestamp submessage (§8.3.7.5 / §8.3.8.5). Sets the timestamp
field + haveTimestamp flag in the ReceiverState.
Inverted via INFO_TIMESTAMP_FLAG_INVALIDATE (I-flag).
Fields§
§timestamp: HeTimestampTimestamp (8 byte: i32 sec + u32 fraction). Ignored when
invalidate=true.
invalidate: booltrue = the I-flag is set in the submessage → the body is empty
and the receiver sets haveTimestamp = false.
Implementations§
Source§impl InfoTimestampSubmessage
impl InfoTimestampSubmessage
Trait Implementations§
Source§impl Clone for InfoTimestampSubmessage
impl Clone for InfoTimestampSubmessage
Source§fn clone(&self) -> InfoTimestampSubmessage
fn clone(&self) -> InfoTimestampSubmessage
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 moreimpl Copy for InfoTimestampSubmessage
Source§impl Debug for InfoTimestampSubmessage
impl Debug for InfoTimestampSubmessage
Source§impl Default for InfoTimestampSubmessage
impl Default for InfoTimestampSubmessage
Source§fn default() -> InfoTimestampSubmessage
fn default() -> InfoTimestampSubmessage
Returns the “default value” for a type. Read more
impl Eq for InfoTimestampSubmessage
Source§impl PartialEq for InfoTimestampSubmessage
impl PartialEq for InfoTimestampSubmessage
impl StructuralPartialEq for InfoTimestampSubmessage
Auto Trait Implementations§
impl Freeze for InfoTimestampSubmessage
impl RefUnwindSafe for InfoTimestampSubmessage
impl Send for InfoTimestampSubmessage
impl Sync for InfoTimestampSubmessage
impl Unpin for InfoTimestampSubmessage
impl UnsafeUnpin for InfoTimestampSubmessage
impl UnwindSafe for InfoTimestampSubmessage
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