pub struct NetworkCommandOptions { /* private fields */ }
Expand description
The NetworkCommandOptions
dictionary.
This API requires the following crate features to be activated: NetworkCommandOptions
Implementations§
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_cur_external_ifname(&self) -> Option<String>
pub fn get_cur_external_ifname(&self) -> Option<String>
Get the curExternalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_cur_external_ifname(&self, val: &str)
pub fn set_cur_external_ifname(&self, val: &str)
Change the curExternalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_cur_internal_ifname(&self) -> Option<String>
pub fn get_cur_internal_ifname(&self) -> Option<String>
Get the curInternalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_cur_internal_ifname(&self, val: &str)
pub fn set_cur_internal_ifname(&self, val: &str)
Change the curInternalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_dns1_long(&self) -> Option<i32>
pub fn get_dns1_long(&self) -> Option<i32>
Get the dns1_long
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_dns1_long(&self, val: i32)
pub fn set_dns1_long(&self, val: i32)
Change the dns1_long
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_dns2_long(&self) -> Option<i32>
pub fn get_dns2_long(&self) -> Option<i32>
Get the dns2_long
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_dns2_long(&self, val: i32)
pub fn set_dns2_long(&self, val: i32)
Change the dns2_long
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_domain(&self) -> Option<String>
pub fn get_domain(&self) -> Option<String>
Get the domain
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_domain(&self, val: &str)
pub fn set_domain(&self, val: &str)
Change the domain
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_enable(&self) -> Option<bool>
pub fn get_enable(&self) -> Option<bool>
Get the enable
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_enable(&self, val: bool)
pub fn set_enable(&self, val: bool)
Change the enable
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_enabled(&self) -> Option<bool>
pub fn get_enabled(&self) -> Option<bool>
Get the enabled
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_enabled(&self, val: bool)
pub fn set_enabled(&self, val: bool)
Change the enabled
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_end_ip(&self) -> Option<String>
pub fn get_end_ip(&self) -> Option<String>
Get the endIp
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_end_ip(&self, val: &str)
pub fn set_end_ip(&self, val: &str)
Change the endIp
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_external_ifname(&self) -> Option<String>
pub fn get_external_ifname(&self) -> Option<String>
Get the externalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_external_ifname(&self, val: &str)
pub fn set_external_ifname(&self, val: &str)
Change the externalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_gateway(&self) -> Option<String>
pub fn get_gateway(&self) -> Option<String>
Get the gateway
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_gateway(&self, val: &str)
pub fn set_gateway(&self, val: &str)
Change the gateway
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_gateway_long(&self) -> Option<i32>
pub fn get_gateway_long(&self) -> Option<i32>
Get the gateway_long
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_gateway_long(&self, val: i32)
pub fn set_gateway_long(&self, val: i32)
Change the gateway_long
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_gateways(&self) -> Option<Array>
pub fn get_gateways(&self) -> Option<Array>
Get the gateways
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_gateways(&self, val: &JsValue)
pub fn set_gateways(&self, val: &JsValue)
Change the gateways
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_ifname(&self) -> Option<String>
pub fn get_ifname(&self) -> Option<String>
Get the ifname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_ifname(&self, val: &str)
pub fn set_ifname(&self, val: &str)
Change the ifname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_interface_list(&self) -> Option<Array>
pub fn get_interface_list(&self) -> Option<Array>
Get the interfaceList
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_interface_list(&self, val: &JsValue)
pub fn set_interface_list(&self, val: &JsValue)
Change the interfaceList
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_internal_ifname(&self) -> Option<String>
pub fn get_internal_ifname(&self) -> Option<String>
Get the internalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_internal_ifname(&self, val: &str)
pub fn set_internal_ifname(&self, val: &str)
Change the internalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_ipaddr(&self) -> Option<i32>
pub fn get_ipaddr(&self) -> Option<i32>
Get the ipaddr
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_ipaddr(&self, val: i32)
pub fn set_ipaddr(&self, val: i32)
Change the ipaddr
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_mask_length(&self) -> Option<String>
pub fn get_mask_length(&self) -> Option<String>
Get the maskLength
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_mask_length(&self, val: &str)
pub fn set_mask_length(&self, val: &str)
Change the maskLength
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_pre_external_ifname(&self) -> Option<String>
pub fn get_pre_external_ifname(&self) -> Option<String>
Get the preExternalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_pre_external_ifname(&self, val: &str)
pub fn set_pre_external_ifname(&self, val: &str)
Change the preExternalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_pre_internal_ifname(&self) -> Option<String>
pub fn get_pre_internal_ifname(&self) -> Option<String>
Get the preInternalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_pre_internal_ifname(&self, val: &str)
pub fn set_pre_internal_ifname(&self, val: &str)
Change the preInternalIfname
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_prefix(&self) -> Option<String>
pub fn get_prefix(&self) -> Option<String>
Get the prefix
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_prefix(&self, val: &str)
pub fn set_prefix(&self, val: &str)
Change the prefix
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_prefix_length(&self) -> Option<u32>
pub fn get_prefix_length(&self) -> Option<u32>
Get the prefixLength
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_prefix_length(&self, val: u32)
pub fn set_prefix_length(&self, val: u32)
Change the prefixLength
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_report(&self) -> Option<bool>
pub fn get_report(&self) -> Option<bool>
Get the report
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_report(&self, val: bool)
pub fn set_report(&self, val: bool)
Change the report
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_security(&self) -> Option<String>
pub fn get_security(&self) -> Option<String>
Get the security
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_security(&self, val: &str)
pub fn set_security(&self, val: &str)
Change the security
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_server_ip(&self) -> Option<String>
pub fn get_server_ip(&self) -> Option<String>
Get the serverIp
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_server_ip(&self, val: &str)
pub fn set_server_ip(&self, val: &str)
Change the serverIp
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_start_ip(&self) -> Option<String>
pub fn get_start_ip(&self) -> Option<String>
Get the startIp
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn set_start_ip(&self, val: &str)
pub fn set_start_ip(&self, val: &str)
Change the startIp
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions
Source§impl NetworkCommandOptions
impl NetworkCommandOptions
Sourcepub fn get_threshold(&self) -> Option<f64>
pub fn get_threshold(&self) -> Option<f64>
Get the threshold
field of this object.
This API requires the following crate features to be activated: NetworkCommandOptions