pub struct LeaseRenewal<I> {
pub start_time: I,
pub lease_time: Duration,
pub parameters: Vec<DhcpOption>,
}
Expand description
A renewal of a DHCP lease.
Fields§
§start_time: I
The start time of the lease after renewal.
lease_time: Duration
The length of the lease after renewal.
parameters: Vec<DhcpOption>
Configuration parameters acquired from the server. Guaranteed to be a
subset of the parameters requested in the parameter_request_list
in
ClientConfig
.
Trait Implementations§
Source§impl<I: Debug> Debug for LeaseRenewal<I>
impl<I: Debug> Debug for LeaseRenewal<I>
Source§impl<I: PartialEq> PartialEq for LeaseRenewal<I>
impl<I: PartialEq> PartialEq for LeaseRenewal<I>
impl<I> StructuralPartialEq for LeaseRenewal<I>
Auto Trait Implementations§
impl<I> Freeze for LeaseRenewal<I>where
I: Freeze,
impl<I> RefUnwindSafe for LeaseRenewal<I>where
I: RefUnwindSafe,
impl<I> Send for LeaseRenewal<I>where
I: Send,
impl<I> Sync for LeaseRenewal<I>where
I: Sync,
impl<I> Unpin for LeaseRenewal<I>where
I: Unpin,
impl<I> UnwindSafe for LeaseRenewal<I>where
I: 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