Struct gekko::runtime::kusama::extrinsics::utility::AsDerivative [−][src]
pub struct AsDerivative<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub index: A,
pub call: B,
}
Expand description
Send a call through an indexed pseudonym of the sender.
Documentation (provided by the runtime metadata)
Send a call through an indexed pseudonym of the sender.
Filter from origin are passed along. The call will be dispatched with an origin which use the same filter as the origin of this call.
NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
because you expect proxy
to have been used prior in the call stack and you do not want
the call restrictions to apply to any sub-accounts), then use as_multi_threshold_1
in the Multisig pallet instead.
NOTE: Prior to version *12, this was called as_limited_sub
.
The dispatch origin for this call must be Signed.
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
index: A
Type description: u16
call: B
Type description: Box<<T as Config>::Call>
Trait Implementations
impl<A: PartialEq, B: PartialEq> PartialEq<AsDerivative<A, B>> for AsDerivative<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A: PartialEq, B: PartialEq> PartialEq<AsDerivative<A, B>> for AsDerivative<A, B> where
A: Encode + Decode,
B: Encode + Decode,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<A, B> StructuralPartialEq for AsDerivative<A, B> where
A: Encode + Decode,
B: Encode + Decode,
Auto Trait Implementations
impl<A, B> RefUnwindSafe for AsDerivative<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for AsDerivative<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for AsDerivative<A, B> where
A: Sync,
B: Sync,
impl<A, B> Unpin for AsDerivative<A, B> where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for AsDerivative<A, B> where
A: UnwindSafe,
B: 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
.