Struct apple_bundle::info_plist::protected_resources::Networking
source · [−]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
sourceimpl Clone for Networking
impl Clone for Networking
sourcefn clone(&self) -> Networking
fn clone(&self) -> Networking
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Networking
impl Debug for Networking
sourceimpl Default for Networking
impl Default for Networking
sourcefn default() -> Networking
fn default() -> Networking
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Networking
impl<'de> Deserialize<'de> for Networking
sourcefn 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
sourceimpl PartialEq<Networking> for Networking
impl PartialEq<Networking> for Networking
sourcefn eq(&self, other: &Networking) -> bool
fn eq(&self, other: &Networking) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Networking) -> bool
fn ne(&self, other: &Networking) -> bool
This method tests for !=
.
sourceimpl Serialize for Networking
impl Serialize for Networking
impl Eq for Networking
impl StructuralEq for Networking
impl StructuralPartialEq for Networking
Auto Trait Implementations
impl RefUnwindSafe for Networking
impl Send for Networking
impl Sync for Networking
impl Unpin for Networking
impl UnwindSafe for Networking
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.