pub struct CameraAndMicrophone {
pub camera_usage_description: Option<String>,
pub microphone_usage_description: Option<String>,
}
Expand description
Fields
camera_usage_description: Option<String>
A message that tells the user why the app is requesting access to the device’s camera.
Important
This key is required if your app uses APIs that access the device’s camera.
Availability
- iOS 7.0+
- macOS 10.14+
Framework
- AVFoundation
microphone_usage_description: Option<String>
A message that tells the user why the app is requesting access to the device’s microphone.
Important
This key is required if your app uses APIs that access the device’s microphone.
Availability
- iOS 7.0+
- macOS 10.14+
- watchOS 4.0+
Framework
- AVFoundation
Trait Implementations
sourceimpl Clone for CameraAndMicrophone
impl Clone for CameraAndMicrophone
sourcefn clone(&self) -> CameraAndMicrophone
fn clone(&self) -> CameraAndMicrophone
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 CameraAndMicrophone
impl Debug for CameraAndMicrophone
sourceimpl Default for CameraAndMicrophone
impl Default for CameraAndMicrophone
sourcefn default() -> CameraAndMicrophone
fn default() -> CameraAndMicrophone
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CameraAndMicrophone
impl<'de> Deserialize<'de> for CameraAndMicrophone
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<CameraAndMicrophone> for CameraAndMicrophone
impl PartialEq<CameraAndMicrophone> for CameraAndMicrophone
sourcefn eq(&self, other: &CameraAndMicrophone) -> bool
fn eq(&self, other: &CameraAndMicrophone) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CameraAndMicrophone) -> bool
fn ne(&self, other: &CameraAndMicrophone) -> bool
This method tests for !=
.
sourceimpl Serialize for CameraAndMicrophone
impl Serialize for CameraAndMicrophone
impl Eq for CameraAndMicrophone
impl StructuralEq for CameraAndMicrophone
impl StructuralPartialEq for CameraAndMicrophone
Auto Trait Implementations
impl RefUnwindSafe for CameraAndMicrophone
impl Send for CameraAndMicrophone
impl Sync for CameraAndMicrophone
impl Unpin for CameraAndMicrophone
impl UnwindSafe for CameraAndMicrophone
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.