pub struct ResetCooldown {
pub method: ResetCooldownMethod,
pub params: ResetCooldownParams,
}Expand description
Resets the cooldown time, if any, to allow the next FedCM call to show a dialog even if one was recently dismissed by the user. resetCooldown
Fields§
§method: ResetCooldownMethod§params: ResetCooldownParamsImplementations§
Source§impl ResetCooldown
impl ResetCooldown
pub fn builder() -> ResetCooldownBuilder
Source§impl ResetCooldown
impl ResetCooldown
pub const IDENTIFIER: &'static str = "FedCm.resetCooldown"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ResetCooldown
impl Clone for ResetCooldown
Source§fn clone(&self) -> ResetCooldown
fn clone(&self) -> ResetCooldown
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 CommandResult for ResetCooldown
impl CommandResult for ResetCooldown
type Result = ResetCooldownResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ResetCooldown
impl Debug for ResetCooldown
Source§impl<'de> Deserialize<'de> for ResetCooldown
impl<'de> Deserialize<'de> for ResetCooldown
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<ResetCooldown> for BrowserProtocolCommands
impl From<ResetCooldown> for BrowserProtocolCommands
Source§fn from(v: ResetCooldown) -> Self
fn from(v: ResetCooldown) -> Self
Converts to this type from the input type.
Source§impl From<ResetCooldown> for Command
impl From<ResetCooldown> for Command
Source§fn from(v: ResetCooldown) -> Self
fn from(v: ResetCooldown) -> Self
Converts to this type from the input type.
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 PartialEq for ResetCooldown
impl PartialEq for ResetCooldown
Source§impl Serialize for ResetCooldown
impl Serialize for ResetCooldown
Source§impl TryFrom<BrowserProtocolCommands> for ResetCooldown
impl TryFrom<BrowserProtocolCommands> for ResetCooldown
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, <ResetCooldown as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ResetCooldown as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ResetCooldown
impl TryFrom<Command> for ResetCooldown
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.
impl StructuralPartialEq for ResetCooldown
Auto Trait Implementations§
impl Freeze for ResetCooldown
impl RefUnwindSafe for ResetCooldown
impl Send for ResetCooldown
impl Sync for ResetCooldown
impl Unpin for ResetCooldown
impl UnsafeUnpin for ResetCooldown
impl UnwindSafe for ResetCooldown
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