pub struct AllowDenyConfig {
pub all: bool,
pub subnet: Option<String>,
}Expand description
Configuration for allow, deny, cmdallow, and cmddeny directives.
Controls NTP client access or command access to chronyd.
Fields§
§all: bool§subnet: Option<String>Trait Implementations§
Source§impl Clone for AllowDenyConfig
impl Clone for AllowDenyConfig
Source§fn clone(&self) -> AllowDenyConfig
fn clone(&self) -> AllowDenyConfig
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 AllowDenyConfig
impl Debug for AllowDenyConfig
Source§impl PartialEq for AllowDenyConfig
impl PartialEq for AllowDenyConfig
Source§fn eq(&self, other: &AllowDenyConfig) -> bool
fn eq(&self, other: &AllowDenyConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AllowDenyConfig
Auto Trait Implementations§
impl Freeze for AllowDenyConfig
impl RefUnwindSafe for AllowDenyConfig
impl Send for AllowDenyConfig
impl Sync for AllowDenyConfig
impl Unpin for AllowDenyConfig
impl UnsafeUnpin for AllowDenyConfig
impl UnwindSafe for AllowDenyConfig
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