#[non_exhaustive]pub struct DhcpOptions {Show 27 fields
pub active_fingerprint_server_group: Option<String>,
pub active_leasequery: Option<DhcpActiveLeasequery>,
pub allow_active_leasequery: Option<DhcpActiveLeasequeryLimits>,
pub allow_bulk_leasequery: Option<DhcpBulkLeasequery>,
pub allow_leasequery: bool,
pub allow_leasequery_restricted_requestor: bool,
pub authentication: Option<DhcpAuthentication>,
pub dynamic_profiles: Vec<DhcpDynamicProfile>,
pub duplicate_clients: Option<String>,
pub duplicate_clients_in_subnet: Option<String>,
pub dynamic_server: Vec<DhcpDynamicServerGroup>,
pub fingerprint_server_groups: Vec<DhcpFingerprintServerGroup>,
pub forward_snooped_clients: Option<String>,
pub interface_traceoptions: Option<Traceoptions>,
pub lease_time_validation: Option<DhcpLeaseTimeValidation>,
pub liveness_detection: Option<DhcpLivenessDetection>,
pub no_snoop: bool,
pub overrides: Option<DhcpOverrides>,
pub pool_match_order: Vec<String>,
pub reauthenticate: Vec<String>,
pub reconfigure: Option<DhcpReconfigure>,
pub remote_id_mismatch_disconnect: bool,
pub requested_ip_network_match: Option<String>,
pub route_suppression: Option<String>,
pub server_duid_type: Option<String>,
pub service_profile: Option<String>,
pub short_cycle_protection: Option<DhcpShortCycleProtection>,
}Expand description
The statements shared by every level of a DHCP local server. The ones a level does not allow are unset.
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.active_fingerprint_server_group: Option<String>§active_leasequery: Option<DhcpActiveLeasequery>§allow_active_leasequery: Option<DhcpActiveLeasequeryLimits>§allow_bulk_leasequery: Option<DhcpBulkLeasequery>§allow_leasequery: boolallow-leasequery: whether it is configured.
allow_leasequery_restricted_requestor: boolallow-leasequery { restricted-requestor; }.
authentication: Option<DhcpAuthentication>§dynamic_profiles: Vec<DhcpDynamicProfile>§duplicate_clients: Option<String>DHCPv6 duplicate-clients incoming-interface.
duplicate_clients_in_subnet: Option<String>incoming-interface or option-82.
dynamic_server: Vec<DhcpDynamicServerGroup>§fingerprint_server_groups: Vec<DhcpFingerprintServerGroup>§forward_snooped_clients: Option<String>all-interfaces, configured-interfaces or non-configured-interfaces.
interface_traceoptions: Option<Traceoptions>§lease_time_validation: Option<DhcpLeaseTimeValidation>§liveness_detection: Option<DhcpLivenessDetection>§no_snoop: bool§overrides: Option<DhcpOverrides>§pool_match_order: Vec<String>e.g. ip-address-first, option-82, external-authority.
reauthenticate: Vec<String>e.g. lease-renewal, remote-id-mismatch, actual-data-rate-change.
reconfigure: Option<DhcpReconfigure>§remote_id_mismatch_disconnect: boolremote-id-mismatch disconnect.
requested_ip_network_match: Option<String>§route_suppression: Option<String>access, access-internal or destination.
server_duid_type: Option<String>§service_profile: Option<String>§short_cycle_protection: Option<DhcpShortCycleProtection>Trait Implementations§
Source§impl Clone for DhcpOptions
impl Clone for DhcpOptions
Source§impl Debug for DhcpOptions
impl Debug for DhcpOptions
Source§impl Default for DhcpOptions
impl Default for DhcpOptions
impl Eq for DhcpOptions
Source§impl PartialEq for DhcpOptions
impl PartialEq for DhcpOptions
impl StructuralPartialEq for DhcpOptions
Auto Trait Implementations§
impl Forget for DhcpOptions
impl Freeze for DhcpOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<DhcpDynamicProfile>: Freeze,
PhantomData<DhcpDynamicServerGroup>: Freeze,
PhantomData<DhcpFingerprintServerGroup>: Freeze,
PhantomData<TraceFlag>: Freeze,
PhantomData<DhcpMatch>: Freeze,
impl Move for DhcpOptions
impl RefUnwindSafe for DhcpOptions
impl Send for DhcpOptionswhere
RawVecInner: Send,
impl Sync for DhcpOptionswhere
RawVecInner: Sync,
impl Unpin for DhcpOptions
impl UnsafeUnpin for DhcpOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<DhcpDynamicProfile>: UnsafeUnpin,
PhantomData<DhcpDynamicServerGroup>: UnsafeUnpin,
PhantomData<DhcpFingerprintServerGroup>: UnsafeUnpin,
PhantomData<TraceFlag>: UnsafeUnpin,
PhantomData<DhcpMatch>: UnsafeUnpin,
impl UnwindSafe for DhcpOptionswhere
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