pub struct Trigger {
pub method: TriggerMethod,
pub params: TriggerParams,
}Expand description
Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error. trigger
Fields§
§method: TriggerMethod§params: TriggerParamsImplementations§
Source§impl Trigger
impl Trigger
pub const IDENTIFIER: &'static str = "Autofill.trigger"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Trigger
impl CommandResult for Trigger
type Result = TriggerResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Trigger
impl<'de> Deserialize<'de> for Trigger
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<Trigger> for AutofillCommands
impl From<Trigger> for AutofillCommands
Source§impl From<Trigger> for BrowserProtocolCommands
impl From<Trigger> for BrowserProtocolCommands
Source§impl TryFrom<AutofillCommands> for Trigger
impl TryFrom<AutofillCommands> for Trigger
Source§type Error = AutofillCommands
type Error = AutofillCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: AutofillCommands,
) -> Result<Self, <Trigger as TryFrom<AutofillCommands>>::Error>
fn try_from( e: AutofillCommands, ) -> Result<Self, <Trigger as TryFrom<AutofillCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for Trigger
impl TryFrom<BrowserProtocolCommands> for Trigger
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, <Trigger as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Trigger as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl Freeze for Trigger
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnsafeUnpin for Trigger
impl UnwindSafe for Trigger
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