#[non_exhaustive]pub struct NtpThreshold {
pub value: String,
pub action: Option<String>,
}Expand description
The threshold <value> action (accept | reject) statement under ntp.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: String§action: Option<String>Trait Implementations§
Source§impl Clone for NtpThreshold
impl Clone for NtpThreshold
Source§impl Debug for NtpThreshold
impl Debug for NtpThreshold
impl Eq for NtpThreshold
Source§impl PartialEq for NtpThreshold
impl PartialEq for NtpThreshold
impl StructuralPartialEq for NtpThreshold
Auto Trait Implementations§
impl Forget for NtpThreshold
impl Freeze for NtpThreshold
impl Move for NtpThreshold
impl RefUnwindSafe for NtpThreshold
impl Send for NtpThresholdwhere
RawVecInner: Send,
impl Sync for NtpThresholdwhere
RawVecInner: Sync,
impl Unpin for NtpThreshold
impl UnsafeUnpin for NtpThreshold
impl UnwindSafe for NtpThresholdwhere
RawVecInner: UnwindSafe,
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