Struct gekko::runtime::polkadot::extrinsics::proxy::KillAnonymous [−][src]
pub struct KillAnonymous<A, B, C, D, E> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode,
E: Encode + Decode, {
pub spawner: A,
pub proxy_type: B,
pub index: C,
pub height: D,
pub ext_index: E,
}
Expand description
Removes a previously spawned anonymous proxy.
Documentation (provided by the runtime metadata)
Removes a previously spawned anonymous proxy.
WARNING: All access to this account will be lost. Any funds held in it will be inaccessible.
Requires a Signed
origin, and the sender account must have been created by a call to
anonymous
with corresponding parameters.
spawner
: The account that originally calledanonymous
to create this account.index
: The disambiguation index originally passed toanonymous
. Probably0
.proxy_type
: The proxy type originally passed toanonymous
.height
: The height of the chain when the call toanonymous
was processed.ext_index
: The extrinsic index in which the call toanonymous
was processed.
Fails with NoPermission
in case the caller is not a previously created anonymous
account whose anonymous
call has corresponding parameters.
Weight is a function of the number of proxies the user has (P).
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
spawner: A
Type description: T::AccountId
proxy_type: B
Type description: T::ProxyType
index: C
Type description: u16
height: D
Type description: Compact<T::BlockNumber>
ext_index: E
Type description: Compact<u32>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<A: Eq, B: Eq, C: Eq, D: Eq, E: Eq> Eq for KillAnonymous<A, B, C, D, E> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode,
E: Encode + Decode,
Auto Trait Implementations
impl<A, B, C, D, E> RefUnwindSafe for KillAnonymous<A, B, C, D, E> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, B, C, D, E> Send for KillAnonymous<A, B, C, D, E> where
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
impl<A, B, C, D, E> Sync for KillAnonymous<A, B, C, D, E> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
impl<A, B, C, D, E> Unpin for KillAnonymous<A, B, C, D, E> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
impl<A, B, C, D, E> UnwindSafe for KillAnonymous<A, B, C, D, E> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: 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
.