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