pub struct TriggerAction {
pub method: TriggerActionMethod,
pub params: TriggerActionParams,
}Expand description
Runs an extension default action. Available if the client is connected using the –remote-debugging-pipe flag and the –enable-unsafe-extension-debugging flag is set. triggerAction
Fields§
§method: TriggerActionMethod§params: TriggerActionParamsImplementations§
Source§impl TriggerAction
impl TriggerAction
pub fn builder() -> TriggerActionBuilder
Source§impl TriggerAction
impl TriggerAction
pub const IDENTIFIER: &'static str = "Extensions.triggerAction"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for TriggerAction
impl Clone for TriggerAction
Source§fn clone(&self) -> TriggerAction
fn clone(&self) -> TriggerAction
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 TriggerAction
impl CommandResult for TriggerAction
type Result = TriggerActionResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for TriggerAction
impl Debug for TriggerAction
Source§impl<'de> Deserialize<'de> for TriggerAction
impl<'de> Deserialize<'de> for TriggerAction
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<TriggerAction> for BrowserProtocolCommands
impl From<TriggerAction> for BrowserProtocolCommands
Source§fn from(v: TriggerAction) -> Self
fn from(v: TriggerAction) -> Self
Converts to this type from the input type.
Source§impl From<TriggerAction> for Command
impl From<TriggerAction> for Command
Source§fn from(v: TriggerAction) -> Self
fn from(v: TriggerAction) -> Self
Converts to this type from the input type.
Source§impl From<TriggerAction> for ExtensionsCommands
impl From<TriggerAction> for ExtensionsCommands
Source§fn from(v: TriggerAction) -> Self
fn from(v: TriggerAction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TriggerAction
impl PartialEq for TriggerAction
Source§impl Serialize for TriggerAction
impl Serialize for TriggerAction
Source§impl TryFrom<BrowserProtocolCommands> for TriggerAction
impl TryFrom<BrowserProtocolCommands> for TriggerAction
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, <TriggerAction as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <TriggerAction as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for TriggerAction
impl TryFrom<Command> for TriggerAction
Source§impl TryFrom<ExtensionsCommands> for TriggerAction
impl TryFrom<ExtensionsCommands> for TriggerAction
Source§type Error = ExtensionsCommands
type Error = ExtensionsCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ExtensionsCommands,
) -> Result<Self, <TriggerAction as TryFrom<ExtensionsCommands>>::Error>
fn try_from( e: ExtensionsCommands, ) -> Result<Self, <TriggerAction as TryFrom<ExtensionsCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for TriggerAction
Auto Trait Implementations§
impl Freeze for TriggerAction
impl RefUnwindSafe for TriggerAction
impl Send for TriggerAction
impl Sync for TriggerAction
impl Unpin for TriggerAction
impl UnsafeUnpin for TriggerAction
impl UnwindSafe for TriggerAction
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