#[non_exhaustive]pub struct DhcpServer {
pub settings: DhcpServerSettings,
pub pools: Vec<DhcpPool>,
pub static_bindings: Vec<DhcpStaticBinding>,
}Expand description
The system services dhcp server.
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.settings: DhcpServerSettings§pools: Vec<DhcpPool>§static_bindings: Vec<DhcpStaticBinding>Trait Implementations§
Source§impl Clone for DhcpServer
impl Clone for DhcpServer
Source§impl Debug for DhcpServer
impl Debug for DhcpServer
impl Eq for DhcpServer
Source§impl PartialEq for DhcpServer
impl PartialEq for DhcpServer
impl StructuralPartialEq for DhcpServer
Auto Trait Implementations§
impl Forget for DhcpServer
impl Freeze for DhcpServerwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<DhcpPool>: Freeze,
PhantomData<DhcpStaticBinding>: Freeze,
impl Move for DhcpServer
impl RefUnwindSafe for DhcpServer
impl Send for DhcpServerwhere
RawVecInner: Send,
impl Sync for DhcpServerwhere
RawVecInner: Sync,
impl Unpin for DhcpServer
impl UnsafeUnpin for DhcpServerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<DhcpPool>: UnsafeUnpin,
PhantomData<DhcpStaticBinding>: UnsafeUnpin,
impl UnwindSafe for DhcpServerwhere
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