pub struct GetScreenInfos {
pub method: GetScreenInfosMethod,
pub params: GetScreenInfosParams,
}Expand description
Returns device’s screen configuration. In headful mode, the physical screens configuration is returned, whereas in headless mode, a virtual headless screen configuration is provided instead. getScreenInfos
Fields§
§method: GetScreenInfosMethod§params: GetScreenInfosParamsImplementations§
Source§impl GetScreenInfos
impl GetScreenInfos
pub fn builder() -> GetScreenInfosBuilder
Source§impl GetScreenInfos
impl GetScreenInfos
pub const IDENTIFIER: &'static str = "Emulation.getScreenInfos"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetScreenInfos
impl Clone for GetScreenInfos
Source§fn clone(&self) -> GetScreenInfos
fn clone(&self) -> GetScreenInfos
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 GetScreenInfos
impl CommandResult for GetScreenInfos
type Result = GetScreenInfosResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetScreenInfos
impl Debug for GetScreenInfos
Source§impl<'de> Deserialize<'de> for GetScreenInfos
impl<'de> Deserialize<'de> for GetScreenInfos
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<GetScreenInfos> for BrowserProtocolCommands
impl From<GetScreenInfos> for BrowserProtocolCommands
Source§fn from(v: GetScreenInfos) -> Self
fn from(v: GetScreenInfos) -> Self
Converts to this type from the input type.
Source§impl From<GetScreenInfos> for Command
impl From<GetScreenInfos> for Command
Source§fn from(v: GetScreenInfos) -> Self
fn from(v: GetScreenInfos) -> Self
Converts to this type from the input type.
Source§impl From<GetScreenInfos> for EmulationCommands
impl From<GetScreenInfos> for EmulationCommands
Source§fn from(v: GetScreenInfos) -> Self
fn from(v: GetScreenInfos) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetScreenInfos
impl PartialEq for GetScreenInfos
Source§impl Serialize for GetScreenInfos
impl Serialize for GetScreenInfos
Source§impl TryFrom<BrowserProtocolCommands> for GetScreenInfos
impl TryFrom<BrowserProtocolCommands> for GetScreenInfos
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, <GetScreenInfos as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetScreenInfos as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetScreenInfos
impl TryFrom<Command> for GetScreenInfos
Source§impl TryFrom<EmulationCommands> for GetScreenInfos
impl TryFrom<EmulationCommands> for GetScreenInfos
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, <GetScreenInfos as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <GetScreenInfos as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetScreenInfos
Auto Trait Implementations§
impl Freeze for GetScreenInfos
impl RefUnwindSafe for GetScreenInfos
impl Send for GetScreenInfos
impl Sync for GetScreenInfos
impl Unpin for GetScreenInfos
impl UnsafeUnpin for GetScreenInfos
impl UnwindSafe for GetScreenInfos
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