pub struct NetworkSubtype1 {Show 19 fields
pub allow_default: Option<bool>,
pub allow_dns: Option<bool>,
pub allow_global: Option<bool>,
pub allow_managed: Option<bool>,
pub assigned_addresses: Vec<String>,
pub bridge: Option<bool>,
pub broadcast_enabled: Option<bool>,
pub dns: Option<NetworkSubtype1Dns>,
pub id: Option<String>,
pub mac: Option<String>,
pub mtu: Option<i64>,
pub multicast_subscriptions: Vec<NetworkSubtype1MulticastSubscriptionsItem>,
pub name: Option<String>,
pub netconf_revision: Option<i64>,
pub port_device_name: Option<String>,
pub port_error: Option<i64>,
pub routes: Vec<NetworkSubtype1RoutesItem>,
pub status: Option<String>,
pub type_: Option<String>,
}
Fields§
§allow_default: Option<bool>
Let ZeroTier modify the system’s default route.
allow_dns: Option<bool>
Let ZeroTier modify the system’s DNS settings.
allow_global: Option<bool>
Let ZeroTier 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: Vec<String>
§bridge: Option<bool>
§broadcast_enabled: Option<bool>
§dns: Option<NetworkSubtype1Dns>
§id: Option<String>
§mac: Option<String>
MAC address for this network’s interface.
mtu: Option<i64>
§multicast_subscriptions: Vec<NetworkSubtype1MulticastSubscriptionsItem>
§name: Option<String>
§netconf_revision: Option<i64>
§port_device_name: Option<String>
§port_error: Option<i64>
§routes: Vec<NetworkSubtype1RoutesItem>
§status: Option<String>
§type_: Option<String>
Trait Implementations§
Source§impl Clone for NetworkSubtype1
impl Clone for NetworkSubtype1
Source§fn clone(&self) -> NetworkSubtype1
fn clone(&self) -> NetworkSubtype1
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NetworkSubtype1
impl Debug for NetworkSubtype1
Source§impl<'de> Deserialize<'de> for NetworkSubtype1
impl<'de> Deserialize<'de> for NetworkSubtype1
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
Auto Trait Implementations§
impl Freeze for NetworkSubtype1
impl RefUnwindSafe for NetworkSubtype1
impl Send for NetworkSubtype1
impl Sync for NetworkSubtype1
impl Unpin for NetworkSubtype1
impl UnwindSafe for NetworkSubtype1
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