pub enum PermissionsPolicyFeature {
Show 72 variants
Accelerometer,
AmbientLightSensor,
AttributionReporting,
Autoplay,
Bluetooth,
BrowsingTopics,
Camera,
ChDpr,
ChDeviceMemory,
ChDownlink,
ChEct,
ChPrefersColorScheme,
ChRtt,
ChSaveData,
ChUa,
ChUaArch,
ChUaBitness,
ChUaPlatform,
ChUaModel,
ChUaMobile,
ChUaFull,
ChUaFullVersion,
ChUaFullVersionList,
ChUaPlatformVersion,
ChUaReduced,
ChUaWow64,
ChViewportHeight,
ChViewportWidth,
ChWidth,
ClipboardRead,
ClipboardWrite,
CrossOriginIsolated,
DirectSockets,
DisplayCapture,
DocumentDomain,
EncryptedMedia,
ExecutionWhileOutOfViewport,
ExecutionWhileNotRendered,
FederatedCredentials,
FocusWithoutUserActivation,
Fullscreen,
Frobulate,
Gamepad,
Geolocation,
Gyroscope,
Hid,
IdleDetection,
InterestCohort,
JoinAdInterestGroup,
KeyboardMap,
LocalFonts,
Magnetometer,
Microphone,
Midi,
OtpCredentials,
Payment,
PictureInPicture,
PublickeyCredentialsGet,
RunAdAuction,
ScreenWakeLock,
Serial,
SharedAutofill,
SharedStorage,
StorageAccess,
SyncXhr,
TrustTokenRedemption,
Unload,
Usb,
VerticalScroll,
WebShare,
WindowPlacement,
XrSpatialTracking,
}
Expand description
All Permissions Policy features. This enum should match the one defined in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
Variants§
Accelerometer
AmbientLightSensor
AttributionReporting
Autoplay
Bluetooth
BrowsingTopics
Camera
ChDpr
ChDeviceMemory
ChDownlink
ChEct
ChPrefersColorScheme
ChRtt
ChSaveData
ChUa
ChUaArch
ChUaBitness
ChUaPlatform
ChUaModel
ChUaMobile
ChUaFull
ChUaFullVersion
ChUaFullVersionList
ChUaPlatformVersion
ChUaReduced
ChUaWow64
ChViewportHeight
ChViewportWidth
ChWidth
ClipboardRead
ClipboardWrite
CrossOriginIsolated
DirectSockets
DisplayCapture
DocumentDomain
EncryptedMedia
ExecutionWhileOutOfViewport
ExecutionWhileNotRendered
FederatedCredentials
FocusWithoutUserActivation
Fullscreen
Frobulate
Gamepad
Geolocation
Gyroscope
Hid
IdleDetection
InterestCohort
JoinAdInterestGroup
KeyboardMap
LocalFonts
Magnetometer
Microphone
Midi
OtpCredentials
Payment
PictureInPicture
PublickeyCredentialsGet
RunAdAuction
ScreenWakeLock
Serial
StorageAccess
SyncXhr
TrustTokenRedemption
Unload
Usb
VerticalScroll
WindowPlacement
XrSpatialTracking
Trait Implementations§
source§impl AsRef<str> for PermissionsPolicyFeature
impl AsRef<str> for PermissionsPolicyFeature
source§impl Clone for PermissionsPolicyFeature
impl Clone for PermissionsPolicyFeature
source§fn clone(&self) -> PermissionsPolicyFeature
fn clone(&self) -> PermissionsPolicyFeature
Returns a copy 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 PermissionsPolicyFeature
impl Debug for PermissionsPolicyFeature
source§impl<'de> Deserialize<'de> for PermissionsPolicyFeature
impl<'de> Deserialize<'de> for PermissionsPolicyFeature
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PermissionsPolicyFeature, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<PermissionsPolicyFeature, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for PermissionsPolicyFeature
impl FromStr for PermissionsPolicyFeature
source§impl Hash for PermissionsPolicyFeature
impl Hash for PermissionsPolicyFeature
source§impl PartialEq for PermissionsPolicyFeature
impl PartialEq for PermissionsPolicyFeature
source§fn eq(&self, other: &PermissionsPolicyFeature) -> bool
fn eq(&self, other: &PermissionsPolicyFeature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PermissionsPolicyFeature
impl Serialize for PermissionsPolicyFeature
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 PermissionsPolicyFeature
impl StructuralPartialEq for PermissionsPolicyFeature
Auto Trait Implementations§
impl Freeze for PermissionsPolicyFeature
impl RefUnwindSafe for PermissionsPolicyFeature
impl Send for PermissionsPolicyFeature
impl Sync for PermissionsPolicyFeature
impl Unpin for PermissionsPolicyFeature
impl UnwindSafe for PermissionsPolicyFeature
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