Struct gekko::runtime::polkadot::extrinsics::multisig::AsMultiThreshold1 [−][src]
pub struct AsMultiThreshold1<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub other_signatories: A,
pub call: B,
}
Expand description
Immediately dispatch a multi-signature call using a single approval from the caller.
Documentation (provided by the runtime metadata)
Immediately dispatch a multi-signature call using a single approval from the caller.
The dispatch origin for this call must be Signed.
other_signatories
: The accounts (other than the sender) who are part of the multi-signature, but do not participate in the approval process.call
: The call to be executed.
Result is equivalent to the dispatched result.
O(Z + C) where Z is the length of the call and C its execution weight.
- DB Weight: None
- Plus Call Weight
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
other_signatories: A
Type description: Vec<T::AccountId>
call: B
Type description: Box<<T as Config>::Call>
Trait Implementations
impl<A: PartialEq, B: PartialEq> PartialEq<AsMultiThreshold1<A, B>> for AsMultiThreshold1<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A: PartialEq, B: PartialEq> PartialEq<AsMultiThreshold1<A, B>> for AsMultiThreshold1<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> StructuralEq for AsMultiThreshold1<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A, B> StructuralPartialEq for AsMultiThreshold1<A, B> where
A: Encode + Decode,
B: Encode + Decode,
Auto Trait Implementations
impl<A, B> RefUnwindSafe for AsMultiThreshold1<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for AsMultiThreshold1<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for AsMultiThreshold1<A, B> where
A: Sync,
B: Sync,
impl<A, B> Unpin for AsMultiThreshold1<A, B> where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for AsMultiThreshold1<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
.