pub struct NtpConfig {
pub enabled: bool,
pub listen: String,
pub rate_limit: f64,
pub rate_burst: u32,
pub nts: NtsConfig,
pub sources: Vec<NtpSourceConfig>,
}Fields§
§enabled: bool§listen: String§rate_limit: f64§rate_burst: u32§nts: NtsConfig§sources: Vec<NtpSourceConfig>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NtpConfig
impl<'de> Deserialize<'de> for NtpConfig
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
Auto Trait Implementations§
impl Freeze for NtpConfig
impl RefUnwindSafe for NtpConfig
impl Send for NtpConfig
impl Sync for NtpConfig
impl Unpin for NtpConfig
impl UnsafeUnpin for NtpConfig
impl UnwindSafe for NtpConfig
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