Struct dhcp_client_core::client::LeaseRenewal
source · 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>
source§fn eq(&self, other: &LeaseRenewal<I>) -> bool
fn eq(&self, other: &LeaseRenewal<I>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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