pub struct GetVersion {
pub method: GetVersionMethod,
pub params: GetVersionParams,
}Expand description
Returns version information. getVersion
Fields§
§method: GetVersionMethod§params: GetVersionParamsImplementations§
Source§impl GetVersion
impl GetVersion
pub fn builder() -> GetVersionBuilder
Source§impl GetVersion
impl GetVersion
pub const IDENTIFIER: &'static str = "Browser.getVersion"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetVersion
impl Clone for GetVersion
Source§fn clone(&self) -> GetVersion
fn clone(&self) -> GetVersion
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 GetVersion
impl CommandResult for GetVersion
type Result = GetVersionResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetVersion
impl Debug for GetVersion
Source§impl<'de> Deserialize<'de> for GetVersion
impl<'de> Deserialize<'de> for GetVersion
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<GetVersion> for BrowserCommands
impl From<GetVersion> for BrowserCommands
Source§fn from(v: GetVersion) -> Self
fn from(v: GetVersion) -> Self
Converts to this type from the input type.
Source§impl From<GetVersion> for BrowserProtocolCommands
impl From<GetVersion> for BrowserProtocolCommands
Source§fn from(v: GetVersion) -> Self
fn from(v: GetVersion) -> Self
Converts to this type from the input type.
Source§impl From<GetVersion> for Command
impl From<GetVersion> for Command
Source§fn from(v: GetVersion) -> Self
fn from(v: GetVersion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetVersion
impl PartialEq for GetVersion
Source§impl Serialize for GetVersion
impl Serialize for GetVersion
Source§impl TryFrom<BrowserCommands> for GetVersion
impl TryFrom<BrowserCommands> for GetVersion
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <GetVersion as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <GetVersion as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for GetVersion
impl TryFrom<BrowserProtocolCommands> for GetVersion
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, <GetVersion as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetVersion as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetVersion
impl TryFrom<Command> for GetVersion
impl StructuralPartialEq for GetVersion
Auto Trait Implementations§
impl Freeze for GetVersion
impl RefUnwindSafe for GetVersion
impl Send for GetVersion
impl Sync for GetVersion
impl Unpin for GetVersion
impl UnsafeUnpin for GetVersion
impl UnwindSafe for GetVersion
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