pub struct SetDevicePostureOverride {
pub method: SetDevicePostureOverrideMethod,
pub params: SetDevicePostureOverrideParams,
}Expand description
Start reporting the given posture value to the Device Posture API. This override can also be set in setDeviceMetricsOverride(). setDevicePostureOverride
Fields§
§method: SetDevicePostureOverrideMethod§params: SetDevicePostureOverrideParamsImplementations§
Source§impl SetDevicePostureOverride
impl SetDevicePostureOverride
pub const IDENTIFIER: &'static str = "Emulation.setDevicePostureOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetDevicePostureOverride
impl Clone for SetDevicePostureOverride
Source§fn clone(&self) -> SetDevicePostureOverride
fn clone(&self) -> SetDevicePostureOverride
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 SetDevicePostureOverride
impl CommandResult for SetDevicePostureOverride
type Result = SetDevicePostureOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetDevicePostureOverride
impl Debug for SetDevicePostureOverride
Source§impl<'de> Deserialize<'de> for SetDevicePostureOverride
impl<'de> Deserialize<'de> for SetDevicePostureOverride
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<SetDevicePostureOverride> for BrowserProtocolCommands
impl From<SetDevicePostureOverride> for BrowserProtocolCommands
Source§fn from(v: SetDevicePostureOverride) -> Self
fn from(v: SetDevicePostureOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetDevicePostureOverride> for Command
impl From<SetDevicePostureOverride> for Command
Source§fn from(v: SetDevicePostureOverride) -> Self
fn from(v: SetDevicePostureOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetDevicePostureOverride> for EmulationCommands
impl From<SetDevicePostureOverride> for EmulationCommands
Source§fn from(v: SetDevicePostureOverride) -> Self
fn from(v: SetDevicePostureOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetDevicePostureOverride
impl PartialEq for SetDevicePostureOverride
Source§impl Serialize for SetDevicePostureOverride
impl Serialize for SetDevicePostureOverride
Source§impl TryFrom<BrowserProtocolCommands> for SetDevicePostureOverride
impl TryFrom<BrowserProtocolCommands> for SetDevicePostureOverride
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, <SetDevicePostureOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetDevicePostureOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetDevicePostureOverride
impl TryFrom<Command> for SetDevicePostureOverride
Source§impl TryFrom<EmulationCommands> for SetDevicePostureOverride
impl TryFrom<EmulationCommands> for SetDevicePostureOverride
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, <SetDevicePostureOverride as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetDevicePostureOverride as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetDevicePostureOverride
Auto Trait Implementations§
impl Freeze for SetDevicePostureOverride
impl RefUnwindSafe for SetDevicePostureOverride
impl Send for SetDevicePostureOverride
impl Sync for SetDevicePostureOverride
impl Unpin for SetDevicePostureOverride
impl UnsafeUnpin for SetDevicePostureOverride
impl UnwindSafe for SetDevicePostureOverride
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