Struct gekko::runtime::kusama::extrinsics::recovery::InitiateRecovery [−][src]
Expand description
Initiate the process for recovering a recoverable account.
Documentation (provided by the runtime metadata)
Initiate the process for recovering a recoverable account.
Payment: RecoveryDeposit
balance will be reserved for initiating the
recovery process. This deposit will always be repatriated to the account
trying to be recovered. See close_recovery
.
The dispatch origin for this call must be Signed.
Parameters:
account
: The lost account that you want to recover. This account needs to be recoverable (i.e. have a recovery configuration).
- One storage read to check that account is recoverable. O(F)
- One storage read to check that this recovery process hasn’t already started. O(1)
- One currency reserve operation. O(X)
- One storage read to get the current block number. O(1)
- One storage write. O(1).
- One event.
Total Complexity: O(F + X)
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
account: A
Type description: T::AccountId
Trait Implementations
impl<A: PartialEq> PartialEq<InitiateRecovery<A>> for InitiateRecovery<A> where
A: Encode + Decode,
impl<A: PartialEq> PartialEq<InitiateRecovery<A>> for InitiateRecovery<A> where
A: Encode + Decode,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<A> RefUnwindSafe for InitiateRecovery<A> where
A: RefUnwindSafe,
impl<A> Send for InitiateRecovery<A> where
A: Send,
impl<A> Sync for InitiateRecovery<A> where
A: Sync,
impl<A> Unpin for InitiateRecovery<A> where
A: Unpin,
impl<A> UnwindSafe for InitiateRecovery<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.