pub struct ClearDevicePostureOverride {
pub method: ClearDevicePostureOverrideMethod,
pub params: ClearDevicePostureOverrideParams,
}Expand description
Clears a device posture override set with either setDeviceMetricsOverride() or setDevicePostureOverride() and starts using posture information from the platform again. Does nothing if no override is set. clearDevicePostureOverride
Fields§
§method: ClearDevicePostureOverrideMethod§params: ClearDevicePostureOverrideParamsImplementations§
Source§impl ClearDevicePostureOverride
impl ClearDevicePostureOverride
pub const IDENTIFIER: &'static str = "Emulation.clearDevicePostureOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ClearDevicePostureOverride
impl Clone for ClearDevicePostureOverride
Source§fn clone(&self) -> ClearDevicePostureOverride
fn clone(&self) -> ClearDevicePostureOverride
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 CommandResult for ClearDevicePostureOverride
impl CommandResult for ClearDevicePostureOverride
type Result = ClearDevicePostureOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ClearDevicePostureOverride
impl Debug for ClearDevicePostureOverride
Source§impl<'de> Deserialize<'de> for ClearDevicePostureOverride
impl<'de> Deserialize<'de> for ClearDevicePostureOverride
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
Source§impl From<ClearDevicePostureOverride> for BrowserProtocolCommands
impl From<ClearDevicePostureOverride> for BrowserProtocolCommands
Source§fn from(v: ClearDevicePostureOverride) -> Self
fn from(v: ClearDevicePostureOverride) -> Self
Converts to this type from the input type.
Source§impl From<ClearDevicePostureOverride> for Command
impl From<ClearDevicePostureOverride> for Command
Source§fn from(v: ClearDevicePostureOverride) -> Self
fn from(v: ClearDevicePostureOverride) -> Self
Converts to this type from the input type.
Source§impl From<ClearDevicePostureOverride> for EmulationCommands
impl From<ClearDevicePostureOverride> for EmulationCommands
Source§fn from(v: ClearDevicePostureOverride) -> Self
fn from(v: ClearDevicePostureOverride) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BrowserProtocolCommands> for ClearDevicePostureOverride
impl TryFrom<BrowserProtocolCommands> for ClearDevicePostureOverride
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <ClearDevicePostureOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ClearDevicePostureOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ClearDevicePostureOverride
impl TryFrom<Command> for ClearDevicePostureOverride
Source§impl TryFrom<EmulationCommands> for ClearDevicePostureOverride
impl TryFrom<EmulationCommands> for ClearDevicePostureOverride
Source§type Error = EmulationCommands
type Error = EmulationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommands,
) -> Result<Self, <ClearDevicePostureOverride as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <ClearDevicePostureOverride as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ClearDevicePostureOverride
Auto Trait Implementations§
impl Freeze for ClearDevicePostureOverride
impl RefUnwindSafe for ClearDevicePostureOverride
impl Send for ClearDevicePostureOverride
impl Sync for ClearDevicePostureOverride
impl Unpin for ClearDevicePostureOverride
impl UnsafeUnpin for ClearDevicePostureOverride
impl UnwindSafe for ClearDevicePostureOverride
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