pub struct SetSensorOverrideReadingsParams {
pub type: SensorType,
pub reading: SensorReading,
}Expand description
Updates the sensor readings reported by a sensor type previously overridden by setSensorOverrideEnabled.
Experimental: may change without notice.
Parameters of Emulation.setSensorOverrideReadings.
Fields§
§type: SensorType§reading: SensorReadingTrait Implementations§
Source§impl<'de> Deserialize<'de> for SetSensorOverrideReadingsParams
impl<'de> Deserialize<'de> for SetSensorOverrideReadingsParams
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 StructuralPartialEq for SetSensorOverrideReadingsParams
Auto Trait Implementations§
impl Forget for SetSensorOverrideReadingsParams
impl Freeze for SetSensorOverrideReadingsParams
impl RefUnwindSafe for SetSensorOverrideReadingsParams
impl Send for SetSensorOverrideReadingsParams
impl Sync for SetSensorOverrideReadingsParams
impl Unpin for SetSensorOverrideReadingsParams
impl UnsafeUnpin for SetSensorOverrideReadingsParams
impl UnwindSafe for SetSensorOverrideReadingsParams
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