pub enum PermissionType {
Show 37 variants
Ar,
AudioCapture,
AutomaticFullscreen,
BackgroundFetch,
BackgroundSync,
CameraPanTiltZoom,
CapturedSurfaceControl,
ClipboardReadWrite,
ClipboardSanitizedWrite,
DisplayCapture,
DurableStorage,
Geolocation,
HandTracking,
IdleDetection,
KeyboardLock,
LocalFonts,
LocalNetworkAccess,
Midi,
MidiSysex,
Nfc,
Notifications,
PaymentHandler,
PeriodicBackgroundSync,
PointerLock,
ProtectedMediaIdentifier,
Sensors,
SmartCard,
SpeakerSelection,
StorageAccess,
TopLevelStorageAccess,
VideoCapture,
Vr,
WakeLockScreen,
WakeLockSystem,
WebAppInstallation,
WebPrinting,
WindowManagement,
}Variants§
Ar
AudioCapture
AutomaticFullscreen
BackgroundFetch
BackgroundSync
CameraPanTiltZoom
CapturedSurfaceControl
ClipboardReadWrite
ClipboardSanitizedWrite
DisplayCapture
DurableStorage
Geolocation
HandTracking
IdleDetection
KeyboardLock
LocalFonts
LocalNetworkAccess
Midi
MidiSysex
Nfc
Notifications
PaymentHandler
PeriodicBackgroundSync
PointerLock
ProtectedMediaIdentifier
Sensors
SmartCard
SpeakerSelection
StorageAccess
TopLevelStorageAccess
VideoCapture
Vr
WakeLockScreen
WakeLockSystem
WebAppInstallation
WebPrinting
WindowManagement
Trait Implementations§
Source§impl AsRef<str> for PermissionType
impl AsRef<str> for PermissionType
Source§impl Clone for PermissionType
impl Clone for PermissionType
Source§fn clone(&self) -> PermissionType
fn clone(&self) -> PermissionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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<PermissionType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PermissionType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for PermissionType
impl FromStr for PermissionType
Source§impl Hash for PermissionType
impl Hash for PermissionType
Source§impl PartialEq for PermissionType
impl PartialEq for PermissionType
Source§impl Serialize for PermissionType
impl Serialize for PermissionType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PermissionType
impl StructuralPartialEq for PermissionType
Auto Trait Implementations§
impl Freeze for PermissionType
impl RefUnwindSafe for PermissionType
impl Send for PermissionType
impl Sync for PermissionType
impl Unpin 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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.