pub struct HostnameInformation {
pub from_dhcp: bool,
pub name: Option<String>,
}Fields§
§from_dhcp: bool§name: Option<String>Trait Implementations§
Source§impl Clone for HostnameInformation
impl Clone for HostnameInformation
Source§fn clone(&self) -> HostnameInformation
fn clone(&self) -> HostnameInformation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HostnameInformation
impl RefUnwindSafe for HostnameInformation
impl Send for HostnameInformation
impl Sync for HostnameInformation
impl Unpin for HostnameInformation
impl UnsafeUnpin for HostnameInformation
impl UnwindSafe for HostnameInformation
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