pub struct LeaseOffer {
pub lease: Lease,
pub subnet_mask: u32,
}
Expand description
A DHCP Lease offer to send to the client
Fields§
§lease: Lease
§subnet_mask: u32
Trait Implementations§
source§impl Debug for LeaseOffer
impl Debug for LeaseOffer
source§impl From<LeaseOffer> for DhcpOffer
impl From<LeaseOffer> for DhcpOffer
source§fn from(_: LeaseOffer) -> Self
fn from(_: LeaseOffer) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LeaseOffer
impl RefUnwindSafe for LeaseOffer
impl Send for LeaseOffer
impl Sync for LeaseOffer
impl Unpin for LeaseOffer
impl UnwindSafe for LeaseOffer
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