pub struct SetPressureDataOverride {
pub method: SetPressureDataOverrideMethod,
pub params: SetPressureDataOverrideParams,
}Expand description
Provides a given pressure data set that will be processed and eventually be delivered to PressureObserver users. |source| must have been previously overridden by setPressureSourceOverrideEnabled. setPressureDataOverride
Fields§
§method: SetPressureDataOverrideMethod§params: SetPressureDataOverrideParamsImplementations§
Source§impl SetPressureDataOverride
impl SetPressureDataOverride
pub const IDENTIFIER: &'static str = "Emulation.setPressureDataOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetPressureDataOverride
impl Clone for SetPressureDataOverride
Source§fn clone(&self) -> SetPressureDataOverride
fn clone(&self) -> SetPressureDataOverride
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 SetPressureDataOverride
impl CommandResult for SetPressureDataOverride
type Result = SetPressureDataOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetPressureDataOverride
impl Debug for SetPressureDataOverride
Source§impl<'de> Deserialize<'de> for SetPressureDataOverride
impl<'de> Deserialize<'de> for SetPressureDataOverride
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<SetPressureDataOverride> for BrowserProtocolCommands
impl From<SetPressureDataOverride> for BrowserProtocolCommands
Source§fn from(v: SetPressureDataOverride) -> Self
fn from(v: SetPressureDataOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetPressureDataOverride> for Command
impl From<SetPressureDataOverride> for Command
Source§fn from(v: SetPressureDataOverride) -> Self
fn from(v: SetPressureDataOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetPressureDataOverride> for EmulationCommands
impl From<SetPressureDataOverride> for EmulationCommands
Source§fn from(v: SetPressureDataOverride) -> Self
fn from(v: SetPressureDataOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetPressureDataOverride
impl PartialEq for SetPressureDataOverride
Source§impl Serialize for SetPressureDataOverride
impl Serialize for SetPressureDataOverride
Source§impl TryFrom<BrowserProtocolCommands> for SetPressureDataOverride
impl TryFrom<BrowserProtocolCommands> for SetPressureDataOverride
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, <SetPressureDataOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetPressureDataOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetPressureDataOverride
impl TryFrom<Command> for SetPressureDataOverride
Source§impl TryFrom<EmulationCommands> for SetPressureDataOverride
impl TryFrom<EmulationCommands> for SetPressureDataOverride
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, <SetPressureDataOverride as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetPressureDataOverride as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetPressureDataOverride
Auto Trait Implementations§
impl Freeze for SetPressureDataOverride
impl RefUnwindSafe for SetPressureDataOverride
impl Send for SetPressureDataOverride
impl Sync for SetPressureDataOverride
impl Unpin for SetPressureDataOverride
impl UnsafeUnpin for SetPressureDataOverride
impl UnwindSafe for SetPressureDataOverride
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