pub struct TriggerAction {
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.
Fields§
§id: StringExtension id.
target_id: StringA tab target ID to trigger the default extension action on.
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 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 Method for TriggerAction
impl Method for TriggerAction
const NAME: &'static str = "Extensions.triggerAction"
type ReturnObject = TriggerActionReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for TriggerAction
impl PartialEq for TriggerAction
Source§impl Serialize for TriggerAction
impl Serialize for TriggerAction
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