#[non_exhaustive]pub struct DhcpSessionLog {
pub client: bool,
pub server: bool,
pub relay: bool,
pub all: bool,
pub dhcpv6_client: bool,
pub dhcpv6_server: bool,
pub dhcpv6_relay: bool,
pub dhcpv6_dynamic_server: bool,
pub dhcpv6_all: bool,
}Expand description
The log session block of dhcp-service: which DHCP session events are logged.
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.client: bool§server: bool§relay: bool§all: bool§dhcpv6_client: bool§dhcpv6_server: bool§dhcpv6_relay: bool§dhcpv6_dynamic_server: bool§dhcpv6_all: boolTrait Implementations§
Source§impl Clone for DhcpSessionLog
impl Clone for DhcpSessionLog
Source§impl Debug for DhcpSessionLog
impl Debug for DhcpSessionLog
Source§impl Default for DhcpSessionLog
impl Default for DhcpSessionLog
impl Eq for DhcpSessionLog
Source§impl PartialEq for DhcpSessionLog
impl PartialEq for DhcpSessionLog
impl StructuralPartialEq for DhcpSessionLog
Auto Trait Implementations§
impl Forget for DhcpSessionLog
impl Freeze for DhcpSessionLog
impl Move for DhcpSessionLog
impl RefUnwindSafe for DhcpSessionLog
impl Send for DhcpSessionLog
impl Sync for DhcpSessionLog
impl Unpin for DhcpSessionLog
impl UnsafeUnpin for DhcpSessionLog
impl UnwindSafe for DhcpSessionLog
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