pub struct NtpSourceConfig {
pub address: String,
pub nts: bool,
pub min_poll: i8,
pub max_poll: i8,
}Fields§
§address: String§nts: bool§min_poll: i8§max_poll: i8Trait Implementations§
Source§impl Clone for NtpSourceConfig
impl Clone for NtpSourceConfig
Source§fn clone(&self) -> NtpSourceConfig
fn clone(&self) -> NtpSourceConfig
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 NtpSourceConfig
impl Debug for NtpSourceConfig
Source§impl<'de> Deserialize<'de> for NtpSourceConfig
impl<'de> Deserialize<'de> for NtpSourceConfig
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 NtpSourceConfig
impl RefUnwindSafe for NtpSourceConfig
impl Send for NtpSourceConfig
impl Sync for NtpSourceConfig
impl Unpin for NtpSourceConfig
impl UnsafeUnpin for NtpSourceConfig
impl UnwindSafe for NtpSourceConfig
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