pub struct ChromePageActionParams {
pub action: String,
pub extra: Map<String, Value>,
}Expand description
Params for chrome/page/action.
action selects the wire command (page/<action>); all other fields are
forwarded to the extension untouched via extra.
Fields§
§action: StringOne of: click, type, keypress, scroll, select, screenshot, highlight, eval.
extra: Map<String, Value>Remaining action-specific parameters, forwarded verbatim.
Trait Implementations§
Source§impl Clone for ChromePageActionParams
impl Clone for ChromePageActionParams
Source§fn clone(&self) -> ChromePageActionParams
fn clone(&self) -> ChromePageActionParams
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 ChromePageActionParams
impl Debug for ChromePageActionParams
Source§impl<'de> Deserialize<'de> for ChromePageActionParams
impl<'de> Deserialize<'de> for ChromePageActionParams
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
Auto Trait Implementations§
impl Freeze for ChromePageActionParams
impl RefUnwindSafe for ChromePageActionParams
impl Send for ChromePageActionParams
impl Sync for ChromePageActionParams
impl Unpin for ChromePageActionParams
impl UnsafeUnpin for ChromePageActionParams
impl UnwindSafe for ChromePageActionParams
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