pub struct ChromeCommand {
pub kind: String,
pub params: Value,
}Expand description
A command Roder asks the extension to run. kind is the wire type
(e.g. "page/snapshot"); params is merged into the outgoing frame.
Fields§
§kind: String§params: ValueImplementations§
Trait Implementations§
Source§impl Clone for ChromeCommand
impl Clone for ChromeCommand
Source§fn clone(&self) -> ChromeCommand
fn clone(&self) -> ChromeCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChromeCommand
impl Debug for ChromeCommand
Source§impl<'de> Deserialize<'de> for ChromeCommand
impl<'de> Deserialize<'de> for ChromeCommand
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 PartialEq for ChromeCommand
impl PartialEq for ChromeCommand
Source§fn eq(&self, other: &ChromeCommand) -> bool
fn eq(&self, other: &ChromeCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChromeCommand
impl Serialize for ChromeCommand
impl StructuralPartialEq for ChromeCommand
Auto Trait Implementations§
impl Freeze for ChromeCommand
impl RefUnwindSafe for ChromeCommand
impl Send for ChromeCommand
impl Sync for ChromeCommand
impl Unpin for ChromeCommand
impl UnsafeUnpin for ChromeCommand
impl UnwindSafe for ChromeCommand
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