pub struct GetInfo {
pub method: GetInfoMethod,
pub params: GetInfoParams,
}Expand description
Returns information about the system. getInfo
Fields§
§method: GetInfoMethod§params: GetInfoParamsImplementations§
Source§impl GetInfo
impl GetInfo
pub const IDENTIFIER: &'static str = "SystemInfo.getInfo"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for GetInfo
impl CommandResult for GetInfo
type Result = GetInfoResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for GetInfo
impl<'de> Deserialize<'de> for GetInfo
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<GetInfo> for BrowserProtocolCommands
impl From<GetInfo> for BrowserProtocolCommands
Source§impl From<GetInfo> for SystemInfoCommands
impl From<GetInfo> for SystemInfoCommands
Source§impl TryFrom<BrowserProtocolCommands> for GetInfo
impl TryFrom<BrowserProtocolCommands> for GetInfo
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, <GetInfo as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetInfo as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<SystemInfoCommands> for GetInfo
impl TryFrom<SystemInfoCommands> for GetInfo
Source§type Error = SystemInfoCommands
type Error = SystemInfoCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: SystemInfoCommands,
) -> Result<Self, <GetInfo as TryFrom<SystemInfoCommands>>::Error>
fn try_from( e: SystemInfoCommands, ) -> Result<Self, <GetInfo as TryFrom<SystemInfoCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetInfo
Auto Trait Implementations§
impl Freeze for GetInfo
impl RefUnwindSafe for GetInfo
impl Send for GetInfo
impl Sync for GetInfo
impl Unpin for GetInfo
impl UnsafeUnpin for GetInfo
impl UnwindSafe for GetInfo
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