Struct gekko::runtime::kusama::extrinsics::identity::ProvideJudgement [−][src]
pub struct ProvideJudgement<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode, {
pub reg_index: A,
pub target: B,
pub judgement: C,
}
Expand description
Provide a judgement for an account’s identity.
Documentation (provided by the runtime metadata)
Provide a judgement for an account’s identity.
The dispatch origin for this call must be Signed and the sender must be the account
of the registrar whose index is reg_index
.
reg_index
: the index of the registrar whose judgement is being made.target
: the account whose identity the judgement is upon. This must be an account with a registered identity.judgement
: the judgement of the registrar of indexreg_index
abouttarget
.
Emits JudgementGiven
if successful.
O(R + X)
.- One balance-transfer operation.
- Up to one account-lookup operation.
- Storage: 1 read
O(R)
, 1 mutateO(R + X)
. - One event.
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
reg_index: A
Type description: Compact<RegistrarIndex>
target: B
Type description: <T::Lookup as StaticLookup>::Source
judgement: C
Type description: Judgement<BalanceOf<T>>
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> Eq for ProvideJudgement<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
impl<A, B, C> StructuralEq for ProvideJudgement<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
impl<A, B, C> StructuralPartialEq for ProvideJudgement<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
Auto Trait Implementations
impl<A, B, C> RefUnwindSafe for ProvideJudgement<A, B, C> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<A, B, C> Send for ProvideJudgement<A, B, C> where
A: Send,
B: Send,
C: Send,
impl<A, B, C> Sync for ProvideJudgement<A, B, C> where
A: Sync,
B: Sync,
C: Sync,
impl<A, B, C> Unpin for ProvideJudgement<A, B, C> where
A: Unpin,
B: Unpin,
C: Unpin,
impl<A, B, C> UnwindSafe for ProvideJudgement<A, B, C> where
A: UnwindSafe,
B: UnwindSafe,
C: 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
.