pub struct RemoveScreen {
pub method: RemoveScreenMethod,
pub params: RemoveScreenParams,
}Expand description
Remove screen from the device. Only supported in headless mode. removeScreen
Fields§
§method: RemoveScreenMethod§params: RemoveScreenParamsImplementations§
Source§impl RemoveScreen
impl RemoveScreen
pub fn builder() -> RemoveScreenBuilder
Source§impl RemoveScreen
impl RemoveScreen
pub const IDENTIFIER: &'static str = "Emulation.removeScreen"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RemoveScreen
impl Clone for RemoveScreen
Source§fn clone(&self) -> RemoveScreen
fn clone(&self) -> RemoveScreen
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 RemoveScreen
impl CommandResult for RemoveScreen
type Result = RemoveScreenResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for RemoveScreen
impl Debug for RemoveScreen
Source§impl<'de> Deserialize<'de> for RemoveScreen
impl<'de> Deserialize<'de> for RemoveScreen
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<RemoveScreen> for BrowserProtocolCommands
impl From<RemoveScreen> for BrowserProtocolCommands
Source§fn from(v: RemoveScreen) -> Self
fn from(v: RemoveScreen) -> Self
Converts to this type from the input type.
Source§impl From<RemoveScreen> for Command
impl From<RemoveScreen> for Command
Source§fn from(v: RemoveScreen) -> Self
fn from(v: RemoveScreen) -> Self
Converts to this type from the input type.
Source§impl From<RemoveScreen> for EmulationCommands
impl From<RemoveScreen> for EmulationCommands
Source§fn from(v: RemoveScreen) -> Self
fn from(v: RemoveScreen) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RemoveScreen
impl PartialEq for RemoveScreen
Source§impl Serialize for RemoveScreen
impl Serialize for RemoveScreen
Source§impl TryFrom<BrowserProtocolCommands> for RemoveScreen
impl TryFrom<BrowserProtocolCommands> for RemoveScreen
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, <RemoveScreen as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <RemoveScreen as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for RemoveScreen
impl TryFrom<Command> for RemoveScreen
Source§impl TryFrom<EmulationCommands> for RemoveScreen
impl TryFrom<EmulationCommands> for RemoveScreen
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, <RemoveScreen as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <RemoveScreen as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for RemoveScreen
Auto Trait Implementations§
impl Freeze for RemoveScreen
impl RefUnwindSafe for RemoveScreen
impl Send for RemoveScreen
impl Sync for RemoveScreen
impl Unpin for RemoveScreen
impl UnsafeUnpin for RemoveScreen
impl UnwindSafe for RemoveScreen
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