pub enum PermissionType {
Show 39 variants
Ar,
AudioCapture,
AutomaticFullscreen,
BackgroundFetch,
BackgroundSync,
CameraPanTiltZoom,
CapturedSurfaceControl,
ClipboardReadWrite,
ClipboardSanitizedWrite,
DisplayCapture,
DurableStorage,
Geolocation,
HandTracking,
IdleDetection,
KeyboardLock,
LocalFonts,
LocalNetwork,
LocalNetworkAccess,
LoopbackNetwork,
Midi,
MidiSysex,
Nfc,
Notifications,
PaymentHandler,
PeriodicBackgroundSync,
PointerLock,
ProtectedMediaIdentifier,
Sensors,
SmartCard,
SpeakerSelection,
StorageAccess,
VideoCapture,
Vr,
WakeLockScreen,
WakeLockSystem,
WebAppInstallation,
WebPrinting,
WindowManagement,
Unrecognized(String),
}Expand description
Experimental: may change without notice.
Variants§
Ar
ar
AudioCapture
audioCapture
AutomaticFullscreen
automaticFullscreen
BackgroundFetch
backgroundFetch
BackgroundSync
backgroundSync
CameraPanTiltZoom
cameraPanTiltZoom
CapturedSurfaceControl
capturedSurfaceControl
ClipboardReadWrite
clipboardReadWrite
ClipboardSanitizedWrite
clipboardSanitizedWrite
DisplayCapture
displayCapture
DurableStorage
durableStorage
Geolocation
geolocation
HandTracking
handTracking
IdleDetection
idleDetection
KeyboardLock
keyboardLock
LocalFonts
localFonts
LocalNetwork
localNetwork
LocalNetworkAccess
localNetworkAccess
LoopbackNetwork
loopbackNetwork
Midi
midi
MidiSysex
midiSysex
Nfc
nfc
Notifications
notifications
PaymentHandler
paymentHandler
PeriodicBackgroundSync
periodicBackgroundSync
PointerLock
pointerLock
ProtectedMediaIdentifier
protectedMediaIdentifier
Sensors
sensors
SmartCard
smartCard
SpeakerSelection
speakerSelection
StorageAccess
storageAccess
VideoCapture
videoCapture
Vr
vr
WakeLockScreen
wakeLockScreen
WakeLockSystem
wakeLockSystem
WebAppInstallation
webAppInstallation
WebPrinting
webPrinting
WindowManagement
windowManagement
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
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
impl Eq 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
impl StructuralPartialEq for PermissionType
Auto Trait Implementations§
impl Forget for PermissionType
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