pub struct Networking {
pub local_network_usage_description: Option<String>,
pub nearby_interaction_allow_once_usage_description: Option<String>,
}Expand description
Networking
Fields§
§local_network_usage_description: Option<String>A message that tells the user why the app is requesting access to the local network.
Any app that uses the local network, directly or indirectly, should include this description. This includes apps that use Bonjour and services implemented with Bonjour, as well as direct unicast or multicast connections to local hosts.
§Availability
- iOS 14.0+
- macOS 11.0+
- tvOS 14.0+
§Framework
- Network
nearby_interaction_allow_once_usage_description: Option<String>A request for user permission to begin an interaction session with nearby devices.
Before an app starts an interaction session, the system requests permission to share the user’s relative distance and direction with a nearby peer. The framework presents a prompt that displays the string value of this key contained in your project’s Info.plist. Define text that explains your interaction session’s purpose to the user. For more information, see Initiating and Maintaining a Session.
This property is localizable.
§Availability
- iOS 14.0+
§Framework
- Nearby Interaction
Trait Implementations§
Source§impl Clone for Networking
impl Clone for Networking
Source§fn clone(&self) -> Networking
fn clone(&self) -> Networking
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Networking
impl Debug for Networking
Source§impl Default for Networking
impl Default for Networking
Source§fn default() -> Networking
fn default() -> Networking
Source§impl<'de> Deserialize<'de> for Networking
impl<'de> Deserialize<'de> for Networking
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>,
Source§impl PartialEq for Networking
impl PartialEq for Networking
Source§impl Serialize for Networking
impl Serialize for Networking
impl Eq for Networking
impl StructuralPartialEq for Networking
Auto Trait Implementations§
impl Freeze for Networking
impl RefUnwindSafe for Networking
impl Send for Networking
impl Sync for Networking
impl Unpin for Networking
impl UnwindSafe for Networking
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.