pub struct ClearDeviceOrientationOverride {
pub method: ClearDeviceOrientationOverrideMethod,
pub params: ClearDeviceOrientationOverrideParams,
}Expand description
Clears the overridden Device Orientation. clearDeviceOrientationOverride
Fields§
§method: ClearDeviceOrientationOverrideMethod§params: ClearDeviceOrientationOverrideParamsImplementations§
Source§impl ClearDeviceOrientationOverride
impl ClearDeviceOrientationOverride
pub fn builder() -> ClearDeviceOrientationOverrideBuilder
Source§impl ClearDeviceOrientationOverride
impl ClearDeviceOrientationOverride
pub const IDENTIFIER: &'static str = "DeviceOrientation.clearDeviceOrientationOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ClearDeviceOrientationOverride
impl Clone for ClearDeviceOrientationOverride
Source§fn clone(&self) -> ClearDeviceOrientationOverride
fn clone(&self) -> ClearDeviceOrientationOverride
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 ClearDeviceOrientationOverride
impl CommandResult for ClearDeviceOrientationOverride
type Result = ClearDeviceOrientationOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for ClearDeviceOrientationOverride
impl<'de> Deserialize<'de> for ClearDeviceOrientationOverride
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<ClearDeviceOrientationOverride> for BrowserProtocolCommands
impl From<ClearDeviceOrientationOverride> for BrowserProtocolCommands
Source§fn from(v: ClearDeviceOrientationOverride) -> Self
fn from(v: ClearDeviceOrientationOverride) -> Self
Converts to this type from the input type.
Source§impl From<ClearDeviceOrientationOverride> for Command
impl From<ClearDeviceOrientationOverride> for Command
Source§fn from(v: ClearDeviceOrientationOverride) -> Self
fn from(v: ClearDeviceOrientationOverride) -> Self
Converts to this type from the input type.
Source§impl From<ClearDeviceOrientationOverride> for DeviceOrientationCommands
impl From<ClearDeviceOrientationOverride> for DeviceOrientationCommands
Source§fn from(v: ClearDeviceOrientationOverride) -> Self
fn from(v: ClearDeviceOrientationOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClearDeviceOrientationOverride
impl PartialEq for ClearDeviceOrientationOverride
Source§fn eq(&self, other: &ClearDeviceOrientationOverride) -> bool
fn eq(&self, other: &ClearDeviceOrientationOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserProtocolCommands> for ClearDeviceOrientationOverride
impl TryFrom<BrowserProtocolCommands> for ClearDeviceOrientationOverride
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, <ClearDeviceOrientationOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ClearDeviceOrientationOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<DeviceOrientationCommands> for ClearDeviceOrientationOverride
impl TryFrom<DeviceOrientationCommands> for ClearDeviceOrientationOverride
Source§type Error = DeviceOrientationCommands
type Error = DeviceOrientationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DeviceOrientationCommands,
) -> Result<Self, <ClearDeviceOrientationOverride as TryFrom<DeviceOrientationCommands>>::Error>
fn try_from( e: DeviceOrientationCommands, ) -> Result<Self, <ClearDeviceOrientationOverride as TryFrom<DeviceOrientationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ClearDeviceOrientationOverride
Auto Trait Implementations§
impl Freeze for ClearDeviceOrientationOverride
impl RefUnwindSafe for ClearDeviceOrientationOverride
impl Send for ClearDeviceOrientationOverride
impl Sync for ClearDeviceOrientationOverride
impl Unpin for ClearDeviceOrientationOverride
impl UnsafeUnpin for ClearDeviceOrientationOverride
impl UnwindSafe for ClearDeviceOrientationOverride
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