pub struct PreferentialNetworkServiceConfig {
pub fallback_to_default_connection: Option<String>,
pub non_matching_networks: Option<String>,
pub preferential_network_id: Option<String>,
}Expand description
Individual preferential network service configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§fallback_to_default_connection: Option<String>Optional. Whether fallback to the device-wide default network is allowed. If this is set to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED, then nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the policy will be rejected otherwise. Note: If this is set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, applications are not able to access the internet if the 5G slice is not available.
non_matching_networks: Option<String>Optional. Whether apps this configuration applies to are blocked from using networks other than the preferential service. If this is set to NON_MATCHING_NETWORKS_DISALLOWED, then fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED.
preferential_network_id: Option<String>Required. Preferential network identifier. This must not be set to NO_PREFERENTIAL_NETWORK or PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the policy will be rejected otherwise.
Trait Implementations§
Source§impl Clone for PreferentialNetworkServiceConfig
impl Clone for PreferentialNetworkServiceConfig
Source§fn clone(&self) -> PreferentialNetworkServiceConfig
fn clone(&self) -> PreferentialNetworkServiceConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more