#[non_exhaustive]pub struct DhcpClient {
pub client_identifier: Option<DhcpClientIdentifier>,
pub force_discover: bool,
pub lease_time: Option<String>,
pub no_dns_install: bool,
pub no_dns_propagation: bool,
pub options_no_hostname: bool,
pub retransmission_attempt: Option<String>,
pub retransmission_interval: Option<String>,
pub server_address: Option<String>,
pub update_server: bool,
pub vendor_id: Option<String>,
}Expand description
A dhcp or dhcp-client block of an IPv4 family.
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_identifier: Option<DhcpClientIdentifier>§force_discover: bool§lease_time: Option<String>Seconds or infinite.
no_dns_install: bool§no_dns_propagation: bool§options_no_hostname: booloptions no-hostname.
retransmission_attempt: Option<String>§retransmission_interval: Option<String>Seconds.
server_address: Option<String>§update_server: bool§vendor_id: Option<String>Trait Implementations§
Source§impl Clone for DhcpClient
impl Clone for DhcpClient
Source§impl Debug for DhcpClient
impl Debug for DhcpClient
impl Eq for DhcpClient
Source§impl PartialEq for DhcpClient
impl PartialEq for DhcpClient
impl StructuralPartialEq for DhcpClient
Auto Trait Implementations§
impl Forget for DhcpClient
impl Freeze for DhcpClient
impl Move for DhcpClient
impl RefUnwindSafe for DhcpClient
impl Send for DhcpClientwhere
RawVecInner: Send,
impl Sync for DhcpClientwhere
RawVecInner: Sync,
impl Unpin for DhcpClient
impl UnsafeUnpin for DhcpClientwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DhcpClientwhere
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