pub struct SetDeviceOrientationOverride {
pub method: SetDeviceOrientationOverrideMethod,
pub params: SetDeviceOrientationOverrideParams,
}Expand description
Overrides the Device Orientation. setDeviceOrientationOverride
Fields§
§method: SetDeviceOrientationOverrideMethod§params: SetDeviceOrientationOverrideParamsImplementations§
Source§impl SetDeviceOrientationOverride
impl SetDeviceOrientationOverride
pub fn builder() -> SetDeviceOrientationOverrideBuilder
Source§impl SetDeviceOrientationOverride
impl SetDeviceOrientationOverride
pub const IDENTIFIER: &'static str = "DeviceOrientation.setDeviceOrientationOverride"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetDeviceOrientationOverride
impl Clone for SetDeviceOrientationOverride
Source§fn clone(&self) -> SetDeviceOrientationOverride
fn clone(&self) -> SetDeviceOrientationOverride
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 SetDeviceOrientationOverride
impl CommandResult for SetDeviceOrientationOverride
type Result = SetDeviceOrientationOverrideResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetDeviceOrientationOverride
impl Debug for SetDeviceOrientationOverride
Source§impl<'de> Deserialize<'de> for SetDeviceOrientationOverride
impl<'de> Deserialize<'de> for SetDeviceOrientationOverride
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<SetDeviceOrientationOverride> for BrowserProtocolCommands
impl From<SetDeviceOrientationOverride> for BrowserProtocolCommands
Source§fn from(v: SetDeviceOrientationOverride) -> Self
fn from(v: SetDeviceOrientationOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetDeviceOrientationOverride> for Command
impl From<SetDeviceOrientationOverride> for Command
Source§fn from(v: SetDeviceOrientationOverride) -> Self
fn from(v: SetDeviceOrientationOverride) -> Self
Converts to this type from the input type.
Source§impl From<SetDeviceOrientationOverride> for DeviceOrientationCommands
impl From<SetDeviceOrientationOverride> for DeviceOrientationCommands
Source§fn from(v: SetDeviceOrientationOverride) -> Self
fn from(v: SetDeviceOrientationOverride) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetDeviceOrientationOverride
impl PartialEq for SetDeviceOrientationOverride
Source§fn eq(&self, other: &SetDeviceOrientationOverride) -> bool
fn eq(&self, other: &SetDeviceOrientationOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserProtocolCommands> for SetDeviceOrientationOverride
impl TryFrom<BrowserProtocolCommands> for SetDeviceOrientationOverride
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, <SetDeviceOrientationOverride as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetDeviceOrientationOverride as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<DeviceOrientationCommands> for SetDeviceOrientationOverride
impl TryFrom<DeviceOrientationCommands> for SetDeviceOrientationOverride
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, <SetDeviceOrientationOverride as TryFrom<DeviceOrientationCommands>>::Error>
fn try_from( e: DeviceOrientationCommands, ) -> Result<Self, <SetDeviceOrientationOverride as TryFrom<DeviceOrientationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetDeviceOrientationOverride
Auto Trait Implementations§
impl Freeze for SetDeviceOrientationOverride
impl RefUnwindSafe for SetDeviceOrientationOverride
impl Send for SetDeviceOrientationOverride
impl Sync for SetDeviceOrientationOverride
impl Unpin for SetDeviceOrientationOverride
impl UnsafeUnpin for SetDeviceOrientationOverride
impl UnwindSafe for SetDeviceOrientationOverride
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