Struct zerotier_one_api::models::network_all_of_1::NetworkAllOf1 [−][src]
pub struct NetworkAllOf1 {}Show fields
pub allow_dns: Option<bool>, pub allow_default: Option<bool>, pub allow_global: Option<bool>, pub allow_managed: Option<bool>, pub assigned_addresses: Option<Vec<String>>, pub bridge: Option<bool>, pub broadcast_enabled: Option<bool>, pub dns: Option<Box<NetworkAllOf1Dns>>, pub id: Option<String>, pub mac: Option<String>, pub mtu: Option<i32>, pub multicast_subscriptions: Option<Vec<NetworkAllOf1MulticastSubscriptions>>, pub name: Option<String>, pub netconf_revision: Option<i32>, pub port_device_name: Option<String>, pub port_error: Option<f32>, pub routes: Option<Vec<Value>>, pub status: Option<String>, pub _type: Option<String>,
Fields
allow_dns: Option<bool>
Let ZeroTier modify the system’s DNS settings
allow_default: Option<bool>
Let ZeroTier to modify the system’s default route.
allow_global: Option<bool>
Let ZeroTier to manage IP addresses and Route assignments that aren’t in private ranges (rfc1918).
allow_managed: Option<bool>
Let ZeroTier to manage IP addresses and Route assignments.
assigned_addresses: Option<Vec<String>>
bridge: Option<bool>
broadcast_enabled: Option<bool>
dns: Option<Box<NetworkAllOf1Dns>>
id: Option<String>
mac: Option<String>
MAC address for this network’s interface
mtu: Option<i32>
multicast_subscriptions: Option<Vec<NetworkAllOf1MulticastSubscriptions>>
name: Option<String>
netconf_revision: Option<i32>
port_device_name: Option<String>
port_error: Option<f32>
routes: Option<Vec<Value>>
status: Option<String>
_type: Option<String>
Implementations
impl NetworkAllOf1
[src]
impl NetworkAllOf1
[src]pub fn new() -> NetworkAllOf1
[src]
Trait Implementations
impl Clone for NetworkAllOf1
[src]
impl Clone for NetworkAllOf1
[src]fn clone(&self) -> NetworkAllOf1
[src]
fn clone(&self) -> NetworkAllOf1
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for NetworkAllOf1
[src]
impl Debug for NetworkAllOf1
[src]impl<'de> Deserialize<'de> for NetworkAllOf1
[src]
impl<'de> Deserialize<'de> for NetworkAllOf1
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<NetworkAllOf1> for NetworkAllOf1
[src]
impl PartialEq<NetworkAllOf1> for NetworkAllOf1
[src]fn eq(&self, other: &NetworkAllOf1) -> bool
[src]
fn eq(&self, other: &NetworkAllOf1) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &NetworkAllOf1) -> bool
[src]
fn ne(&self, other: &NetworkAllOf1) -> bool
[src]This method tests for !=
.
impl Serialize for NetworkAllOf1
[src]
impl Serialize for NetworkAllOf1
[src]impl StructuralPartialEq for NetworkAllOf1
[src]
Auto Trait Implementations
impl RefUnwindSafe for NetworkAllOf1
impl Send for NetworkAllOf1
impl Sync for NetworkAllOf1
impl Unpin for NetworkAllOf1
impl UnwindSafe for NetworkAllOf1
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,