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 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<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
Source§impl PartialEq for PermissionType
impl PartialEq for PermissionType
Source§impl Serialize for PermissionType
impl Serialize 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