pub struct TriggerActionParams {
pub id: String,
pub target_id: String,
}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§
§id: StringExtension id.
target_id: StringA tab target ID to trigger the default extension action on.
Implementations§
Source§impl TriggerActionParams
impl TriggerActionParams
pub fn builder() -> TriggerActionParamsBuilder
Source§impl TriggerActionParams
impl TriggerActionParams
pub const IDENTIFIER: &'static str = "Extensions.triggerAction"
Trait Implementations§
Source§impl Clone for TriggerActionParams
impl Clone for TriggerActionParams
Source§fn clone(&self) -> TriggerActionParams
fn clone(&self) -> TriggerActionParams
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 Command for TriggerActionParams
impl Command for TriggerActionParams
Source§impl Debug for TriggerActionParams
impl Debug for TriggerActionParams
Source§impl Default for TriggerActionParams
impl Default for TriggerActionParams
Source§fn default() -> TriggerActionParams
fn default() -> TriggerActionParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TriggerActionParams
impl<'de> Deserialize<'de> for TriggerActionParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TriggerActionParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TriggerActionParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for TriggerActionParams
impl Method for TriggerActionParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for TriggerActionParams
impl MethodType for TriggerActionParams
Source§impl PartialEq for TriggerActionParams
impl PartialEq for TriggerActionParams
Source§impl Serialize for TriggerActionParams
impl Serialize for TriggerActionParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TriggerActionParams
Auto Trait Implementations§
impl Freeze for TriggerActionParams
impl RefUnwindSafe for TriggerActionParams
impl Send for TriggerActionParams
impl Sync for TriggerActionParams
impl Unpin for TriggerActionParams
impl UnsafeUnpin for TriggerActionParams
impl UnwindSafe for TriggerActionParams
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