Struct ntp_daemon::config::ClockConfig
source · pub struct ClockConfig {
pub clock: DefaultNtpClock,
pub interface: Option<InterfaceName>,
pub enable_timestamps: EnableTimestamps,
}Fields§
§clock: DefaultNtpClock§interface: Option<InterfaceName>§enable_timestamps: EnableTimestampsTrait Implementations§
source§impl Clone for ClockConfig
impl Clone for ClockConfig
source§fn clone(&self) -> ClockConfig
fn clone(&self) -> ClockConfig
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 ClockConfig
impl Debug for ClockConfig
source§impl Default for ClockConfig
impl Default for ClockConfig
source§fn default() -> ClockConfig
fn default() -> ClockConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClockConfig
impl<'de> Deserialize<'de> for ClockConfig
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