pub struct ClearDevicePostureOverrideReturnObject(pub Option<Value>);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.
Tuple Fields§
§0: Option<Value>Trait Implementations§
Source§impl Clone for ClearDevicePostureOverrideReturnObject
impl Clone for ClearDevicePostureOverrideReturnObject
Source§fn clone(&self) -> ClearDevicePostureOverrideReturnObject
fn clone(&self) -> ClearDevicePostureOverrideReturnObject
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<'de> Deserialize<'de> for ClearDevicePostureOverrideReturnObject
impl<'de> Deserialize<'de> for ClearDevicePostureOverrideReturnObject
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 PartialEq for ClearDevicePostureOverrideReturnObject
impl PartialEq for ClearDevicePostureOverrideReturnObject
Source§fn eq(&self, other: &ClearDevicePostureOverrideReturnObject) -> bool
fn eq(&self, other: &ClearDevicePostureOverrideReturnObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClearDevicePostureOverrideReturnObject
Auto Trait Implementations§
impl Freeze for ClearDevicePostureOverrideReturnObject
impl RefUnwindSafe for ClearDevicePostureOverrideReturnObject
impl Send for ClearDevicePostureOverrideReturnObject
impl Sync for ClearDevicePostureOverrideReturnObject
impl Unpin for ClearDevicePostureOverrideReturnObject
impl UnsafeUnpin for ClearDevicePostureOverrideReturnObject
impl UnwindSafe for ClearDevicePostureOverrideReturnObject
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