pub enum PermissionsPolicyFeature {
Show 53 variants
Accelerometer,
AmbientLightSensor,
Autoplay,
Camera,
ChDpr,
ChDeviceMemory,
ChDownlink,
ChEct,
ChLang,
ChRtt,
ChUa,
ChUaArch,
ChUaPlatform,
ChUaModel,
ChUaMobile,
ChUaFullVersion,
ChUaPlatformVersion,
ChViewportWidth,
ChWidth,
ClipboardRead,
ClipboardWrite,
ConversionMeasurement,
CrossOriginIsolated,
DisplayCapture,
DocumentDomain,
EncryptedMedia,
ExecutionWhileOutOfViewport,
ExecutionWhileNotRendered,
FocusWithoutUserActivation,
Fullscreen,
Frobulate,
Gamepad,
Geolocation,
Gyroscope,
Hid,
IdleDetection,
InterestCohort,
Magnetometer,
Microphone,
Midi,
OtpCredentials,
Payment,
PictureInPicture,
PublickeyCredentialsGet,
ScreenWakeLock,
Serial,
StorageAccessApi,
SyncXhr,
TrustTokenRedemption,
Usb,
VerticalScroll,
WebShare,
XrSpatialTracking,
}Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Variants§
Accelerometer
accelerometer
AmbientLightSensor
ambient-light-sensor
Autoplay
autoplay
Camera
camera
ChDpr
ch-dpr
ChDeviceMemory
ch-device-memory
ChDownlink
ch-downlink
ChEct
ch-ect
ChLang
ch-lang
ChRtt
ch-rtt
ChUa
ch-ua
ChUaArch
ch-ua-arch
ChUaPlatform
ch-ua-platform
ChUaModel
ch-ua-model
ChUaMobile
ch-ua-mobile
ChUaFullVersion
ch-ua-full-version
ChUaPlatformVersion
ch-ua-platform-version
ChViewportWidth
ch-viewport-width
ChWidth
ch-width
ClipboardRead
clipboard-read
ClipboardWrite
clipboard-write
ConversionMeasurement
conversion-measurement
CrossOriginIsolated
cross-origin-isolated
DisplayCapture
display-capture
DocumentDomain
document-domain
EncryptedMedia
encrypted-media
ExecutionWhileOutOfViewport
execution-while-out-of-viewport
ExecutionWhileNotRendered
execution-while-not-rendered
FocusWithoutUserActivation
focus-without-user-activation
Fullscreen
fullscreen
Frobulate
frobulate
Gamepad
gamepad
Geolocation
geolocation
Gyroscope
gyroscope
Hid
hid
IdleDetection
idle-detection
InterestCohort
interest-cohort
Magnetometer
magnetometer
Microphone
microphone
Midi
midi
OtpCredentials
otp-credentials
Payment
payment
PictureInPicture
picture-in-picture
PublickeyCredentialsGet
publickey-credentials-get
ScreenWakeLock
screen-wake-lock
Serial
serial
StorageAccessApi
storage-access-api
SyncXhr
sync-xhr
TrustTokenRedemption
trust-token-redemption
Usb
usb
VerticalScroll
vertical-scroll
web-share
XrSpatialTracking
xr-spatial-tracking
Trait Implementations§
Source§impl Clone for PermissionsPolicyFeature
impl Clone for PermissionsPolicyFeature
Source§fn clone(&self) -> PermissionsPolicyFeature
fn clone(&self) -> PermissionsPolicyFeature
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 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<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 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