Struct zerotier_central_api::types::NetworkConfig
source · pub struct NetworkConfig {Show 16 fields
pub capabilities: Option<Vec<HashMap<String, Value>>>,
pub creation_time: Option<i64>,
pub dns: Option<Dns>,
pub enable_broadcast: Option<bool>,
pub id: Option<String>,
pub ip_assignment_pools: Option<Vec<IpRange>>,
pub last_modified: Option<i64>,
pub mtu: Option<i64>,
pub multicast_limit: Option<i64>,
pub name: Option<String>,
pub private: Option<bool>,
pub routes: Option<Vec<Route>>,
pub rules: Option<Vec<HashMap<String, Value>>>,
pub tags: Option<Vec<HashMap<String, Value>>>,
pub v4_assign_mode: Option<Ipv4AssignMode>,
pub v6_assign_mode: Option<Ipv6AssignMode>,
}
Fields§
§capabilities: Option<Vec<HashMap<String, Value>>>
Array of network capabilities
creation_time: Option<i64>
Time the network was created
dns: Option<Dns>
§enable_broadcast: Option<bool>
Enable broadcast packets on the network
id: Option<String>
Network ID
ip_assignment_pools: Option<Vec<IpRange>>
Range of IP addresses for the auto assign pool
last_modified: Option<i64>
Time the network was last modified
mtu: Option<i64>
MTU to set on the client virtual network adapter
multicast_limit: Option<i64>
Maximum number of recipients per multicast or broadcast. Warning - Setting this to 0 will disable IPv4 communication on your network!
name: Option<String>
§private: Option<bool>
Whether or not the network is private. If false, members will NOT need to be authorized to join.
routes: Option<Vec<Route>>
§rules: Option<Vec<HashMap<String, Value>>>
§v4_assign_mode: Option<Ipv4AssignMode>
§v6_assign_mode: Option<Ipv6AssignMode>
Trait Implementations§
source§impl Clone for NetworkConfig
impl Clone for NetworkConfig
source§fn clone(&self) -> NetworkConfig
fn clone(&self) -> NetworkConfig
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 NetworkConfig
impl Debug for NetworkConfig
source§impl<'de> Deserialize<'de> for NetworkConfig
impl<'de> Deserialize<'de> for NetworkConfig
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