pub enum SetDeviceMetricsOverrideViewportMeta {
Enable,
Default,
Unrecognized(String),
}Expand description
The values viewportMeta accepts on setDeviceMetricsOverride.
Variants§
Enable
enable
Default
default
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<'de> Deserialize<'de> for SetDeviceMetricsOverrideViewportMeta
impl<'de> Deserialize<'de> for SetDeviceMetricsOverrideViewportMeta
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 SetDeviceMetricsOverrideViewportMeta
impl StructuralPartialEq for SetDeviceMetricsOverrideViewportMeta
Auto Trait Implementations§
impl Forget for SetDeviceMetricsOverrideViewportMeta
impl Freeze for SetDeviceMetricsOverrideViewportMeta
impl RefUnwindSafe for SetDeviceMetricsOverrideViewportMeta
impl Send for SetDeviceMetricsOverrideViewportMeta
impl Sync for SetDeviceMetricsOverrideViewportMeta
impl Unpin for SetDeviceMetricsOverrideViewportMeta
impl UnsafeUnpin for SetDeviceMetricsOverrideViewportMeta
impl UnwindSafe for SetDeviceMetricsOverrideViewportMeta
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