#[non_exhaustive]pub struct DhcpServerSettings {Show 14 fields
pub boot_file: Option<String>,
pub boot_server: Option<String>,
pub default_lease_time: Option<String>,
pub domain_name: Option<String>,
pub domain_search: Vec<String>,
pub maximum_lease_time: Option<String>,
pub name_servers: Vec<String>,
pub next_server: Option<String>,
pub options: Vec<String>,
pub propagate_settings: Option<String>,
pub routers: Vec<String>,
pub server_identifier: Option<String>,
pub sip_servers: Vec<String>,
pub wins_servers: Vec<String>,
}Expand description
The settings shared by the DHCP server, its pools and its static bindings.
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.boot_file: Option<String>§boot_server: Option<String>An address or a hostname.
default_lease_time: Option<String>Seconds.
domain_name: Option<String>§domain_search: Vec<String>§maximum_lease_time: Option<String>Seconds.
name_servers: Vec<String>§next_server: Option<String>§options: Vec<String>The lines of option { ... }, as written, e.g. "15 string example.net".
propagate_settings: Option<String>§routers: Vec<String>§server_identifier: Option<String>§sip_servers: Vec<String>Addresses or names.
wins_servers: Vec<String>Trait Implementations§
Source§impl Clone for DhcpServerSettings
impl Clone for DhcpServerSettings
Source§impl Debug for DhcpServerSettings
impl Debug for DhcpServerSettings
Source§impl Default for DhcpServerSettings
impl Default for DhcpServerSettings
impl Eq for DhcpServerSettings
Source§impl PartialEq for DhcpServerSettings
impl PartialEq for DhcpServerSettings
impl StructuralPartialEq for DhcpServerSettings
Auto Trait Implementations§
impl Forget for DhcpServerSettings
impl Freeze for DhcpServerSettings
impl Move for DhcpServerSettings
impl RefUnwindSafe for DhcpServerSettings
impl Send for DhcpServerSettingswhere
RawVecInner: Send,
impl Sync for DhcpServerSettingswhere
RawVecInner: Sync,
impl Unpin for DhcpServerSettings
impl UnsafeUnpin for DhcpServerSettingswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DhcpServerSettingswhere
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