pub struct NtpProtocol {
pub base: Protocol,
pub ntp_servers: Option<Option<Vec<String>>>,
pub network_supplied_servers: Option<Option<Vec<String>>>,
}Fields§
§base: ProtocolBase type
ntp_servers: Option<Option<Vec<String>>>Indicates to which user-supplied NTP servers this manager is subscribed.
This property shall contain all the user-supplied NTP servers for which this manager is using to
obtain time. NetworkSuppliedServers is used for NTP servers supplied by other network protocols
such as DHCP.
network_supplied_servers: Option<Option<Vec<String>>>The NTP servers supplied by other network protocols to this manager.
This property shall contain the NTP servers supplied by other network protocols to this manager. DHCP is an example of a protocol that can supply NTP servers to this manager.
Trait Implementations§
Source§impl Debug for NtpProtocol
impl Debug for NtpProtocol
Source§impl<'de> Deserialize<'de> for NtpProtocol
impl<'de> Deserialize<'de> for NtpProtocol
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
impl Send for NtpProtocol
SAFETY: All generated data types are Send
impl Sync for NtpProtocol
SAFETY: All generated data types are Sync
Auto Trait Implementations§
impl Freeze for NtpProtocol
impl RefUnwindSafe for NtpProtocol
impl Unpin for NtpProtocol
impl UnsafeUnpin for NtpProtocol
impl UnwindSafe for NtpProtocol
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