Struct ntp_udp::EnableTimestamps
source · pub struct EnableTimestamps {
pub rx_software: bool,
pub tx_software: bool,
pub rx_hardware: bool,
pub tx_hardware: bool,
}Expand description
Enable the given timestamps. This is a hint!
Your OS or hardware might not actually support some timestamping modes. Unsupported timestamping modes are ignored.
Fields§
§rx_software: bool§tx_software: bool§rx_hardware: bool§tx_hardware: boolTrait Implementations§
source§impl Clone for EnableTimestamps
impl Clone for EnableTimestamps
source§fn clone(&self) -> EnableTimestamps
fn clone(&self) -> EnableTimestamps
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 EnableTimestamps
impl Debug for EnableTimestamps
source§impl Default for EnableTimestamps
impl Default for EnableTimestamps
source§impl<'de> Deserialize<'de> for EnableTimestamps
impl<'de> Deserialize<'de> for EnableTimestamps
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