Struct AddressStatusV4
#[repr(C)]pub struct AddressStatusV4 {
pub ip: in_addr,
pub gateway: in_addr,
pub pri_dns: in_addr,
pub sec_dns: in_addr,
}Fields§
§ip: in_addrPublic IPv4 address.
gateway: in_addrPublic IPv4 gateway.
pri_dns: in_addrPrimary Domain Name Service IP address.
sec_dns: in_addrSecondary Domain Name Service IP address.
Trait Implementations§
§impl Clone for AddressStatusV4
impl Clone for AddressStatusV4
§fn clone(&self) -> AddressStatusV4
fn clone(&self) -> AddressStatusV4
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AddressStatusV4
Auto Trait Implementations§
impl Freeze for AddressStatusV4
impl RefUnwindSafe for AddressStatusV4
impl Send for AddressStatusV4
impl Sync for AddressStatusV4
impl Unpin for AddressStatusV4
impl UnwindSafe for AddressStatusV4
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