Struct fidl_fuchsia_net_interfaces_ext::Address
source · pub struct Address {
pub addr: Subnet,
pub valid_until: zx_time_t,
pub assignment_state: AddressAssignmentState,
}
Expand description
An address and its properties.
Fields§
§addr: Subnet
The address and prefix length.
valid_until: zx_time_t
The time after which the address will no longer be valid.
Its value must be greater than 0. A value of zx.time.INFINITE indicates that the address will always be valid.
assignment_state: AddressAssignmentState
The address’s assignment state.
Trait Implementations§
source§impl PartialEq for Address
impl PartialEq for Address
source§impl Validate<Address> for AddressValidator
impl Validate<Address> for AddressValidator
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)