pub struct AdvancedNetworkSettings {
pub ipv4_address: Option<String>,
pub ipv6_address: Option<String>,
pub aliases: Vec<String>,
}
Fields§
§ipv4_address: Option<String>
§ipv6_address: Option<String>
§aliases: Vec<String>
Trait Implementations§
source§impl Clone for AdvancedNetworkSettings
impl Clone for AdvancedNetworkSettings
source§fn clone(&self) -> AdvancedNetworkSettings
fn clone(&self) -> AdvancedNetworkSettings
Returns a copy 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 moresource§impl Debug for AdvancedNetworkSettings
impl Debug for AdvancedNetworkSettings
source§impl Default for AdvancedNetworkSettings
impl Default for AdvancedNetworkSettings
source§fn default() -> AdvancedNetworkSettings
fn default() -> AdvancedNetworkSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AdvancedNetworkSettings
impl<'de> Deserialize<'de> for AdvancedNetworkSettings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for AdvancedNetworkSettings
impl Hash for AdvancedNetworkSettings
source§impl PartialEq for AdvancedNetworkSettings
impl PartialEq for AdvancedNetworkSettings
source§fn eq(&self, other: &AdvancedNetworkSettings) -> bool
fn eq(&self, other: &AdvancedNetworkSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AdvancedNetworkSettings
impl Serialize for AdvancedNetworkSettings
impl Eq for AdvancedNetworkSettings
impl StructuralPartialEq for AdvancedNetworkSettings
Auto Trait Implementations§
impl RefUnwindSafe for AdvancedNetworkSettings
impl Send for AdvancedNetworkSettings
impl Sync for AdvancedNetworkSettings
impl Unpin for AdvancedNetworkSettings
impl UnwindSafe for AdvancedNetworkSettings
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.