pub enum AutofillCommands {
Trigger(Trigger),
SetAddresses(SetAddresses),
Disable(Disable),
Enable(Enable),
}Variants§
Implementations§
Source§impl AutofillCommands
impl AutofillCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for AutofillCommands
impl Clone for AutofillCommands
Source§fn clone(&self) -> AutofillCommands
fn clone(&self) -> AutofillCommands
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 AutofillCommands
impl Debug for AutofillCommands
Source§impl<'de> Deserialize<'de> for AutofillCommands
impl<'de> Deserialize<'de> for AutofillCommands
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<AutofillCommands> for BrowserProtocolCommands
impl From<AutofillCommands> for BrowserProtocolCommands
Source§fn from(v: AutofillCommands) -> Self
fn from(v: AutofillCommands) -> Self
Converts to this type from the input type.
Source§impl From<AutofillCommands> for Command
impl From<AutofillCommands> for Command
Source§fn from(v: AutofillCommands) -> Self
fn from(v: AutofillCommands) -> Self
Converts to this type from the input type.
Source§impl From<Disable> for AutofillCommands
impl From<Disable> for AutofillCommands
Source§impl From<Enable> for AutofillCommands
impl From<Enable> for AutofillCommands
Source§impl From<SetAddresses> for AutofillCommands
impl From<SetAddresses> for AutofillCommands
Source§fn from(v: SetAddresses) -> Self
fn from(v: SetAddresses) -> Self
Converts to this type from the input type.
Source§impl From<Trigger> for AutofillCommands
impl From<Trigger> for AutofillCommands
Source§impl PartialEq for AutofillCommands
impl PartialEq for AutofillCommands
Source§impl Serialize for AutofillCommands
impl Serialize for AutofillCommands
Source§impl TryFrom<AutofillCommands> for Disable
impl TryFrom<AutofillCommands> for Disable
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, <Disable as TryFrom<AutofillCommands>>::Error>
fn try_from( e: AutofillCommands, ) -> Result<Self, <Disable as TryFrom<AutofillCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<AutofillCommands> for Enable
impl TryFrom<AutofillCommands> for Enable
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, <Enable as TryFrom<AutofillCommands>>::Error>
fn try_from( e: AutofillCommands, ) -> Result<Self, <Enable as TryFrom<AutofillCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<AutofillCommands> for SetAddresses
impl TryFrom<AutofillCommands> for SetAddresses
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, <SetAddresses as TryFrom<AutofillCommands>>::Error>
fn try_from( e: AutofillCommands, ) -> Result<Self, <SetAddresses as TryFrom<AutofillCommands>>::Error>
Performs the conversion.
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 AutofillCommands
impl TryFrom<BrowserProtocolCommands> for AutofillCommands
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, <AutofillCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <AutofillCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for AutofillCommands
impl TryFrom<Command> for AutofillCommands
impl StructuralPartialEq for AutofillCommands
Auto Trait Implementations§
impl Freeze for AutofillCommands
impl RefUnwindSafe for AutofillCommands
impl Send for AutofillCommands
impl Sync for AutofillCommands
impl Unpin for AutofillCommands
impl UnsafeUnpin for AutofillCommands
impl UnwindSafe for AutofillCommands
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