pub enum PermissionType {
Show 23 variants
AccessibilityEvents,
AudioCapture,
BackgroundSync,
BackgroundFetch,
ClipboardReadWrite,
ClipboardSanitizedWrite,
DisplayCapture,
DurableStorage,
Flash,
Geolocation,
Midi,
MidiSysex,
Nfc,
Notifications,
PaymentHandler,
PeriodicBackgroundSync,
ProtectedMediaIdentifier,
Sensors,
VideoCapture,
VideoCapturePanTiltZoom,
IdleDetection,
WakeLockScreen,
WakeLockSystem,
}
Available on crate features
Browser
and experimental
only.Variants§
AccessibilityEvents
accessibilityEvents
AudioCapture
audioCapture
BackgroundSync
backgroundSync
BackgroundFetch
backgroundFetch
ClipboardReadWrite
clipboardReadWrite
ClipboardSanitizedWrite
clipboardSanitizedWrite
DisplayCapture
displayCapture
DurableStorage
durableStorage
Flash
flash
Geolocation
geolocation
Midi
midi
MidiSysex
midiSysex
Nfc
nfc
Notifications
notifications
PaymentHandler
paymentHandler
PeriodicBackgroundSync
periodicBackgroundSync
ProtectedMediaIdentifier
protectedMediaIdentifier
Sensors
sensors
VideoCapture
videoCapture
VideoCapturePanTiltZoom
videoCapturePanTiltZoom
IdleDetection
idleDetection
WakeLockScreen
wakeLockScreen
WakeLockSystem
wakeLockSystem
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
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