pub enum PermissionType {
Location,
CoarseLocation,
}Expand description
The individual permission aliases that can be requested with request_permissions.
Variants§
Location
The location alias. On Android this maps to both ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION. On iOS it maps to the standard location permission.
CoarseLocation
The coarseLocation alias. On Android this maps to ACCESS_COARSE_LOCATION only. On iOS it behaves the same as Location.
Trait Implementations§
Source§impl Clone for PermissionType
impl Clone for PermissionType
Source§impl Debug for PermissionType
impl Debug for PermissionType
Source§impl<'de> Deserialize<'de> for PermissionType
impl<'de> Deserialize<'de> for PermissionType
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PermissionType
impl RefUnwindSafe for PermissionType
impl Send for PermissionType
impl Sync for PermissionType
impl Unpin for PermissionType
impl UnsafeUnpin for PermissionType
impl UnwindSafe for PermissionType
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
Mutably borrows from an owned value. Read more