Struct polymesh_api::polymesh::api::identity::IdentityPagedQueryApi
source · pub struct IdentityPagedQueryApi<'api> { /* private fields */ }
Implementations§
source§impl<'api> IdentityPagedQueryApi<'api>
impl<'api> IdentityPagedQueryApi<'api>
sourcepub fn did_records(&self) -> StoragePaged<IdentityId, DidRecord<AccountId>>
pub fn did_records(&self) -> StoragePaged<IdentityId, DidRecord<AccountId>>
DID -> identity info
sourcepub fn is_did_frozen(&self) -> StoragePaged<IdentityId, bool>
pub fn is_did_frozen(&self) -> StoragePaged<IdentityId, bool>
DID -> bool that indicates if secondary keys are frozen.
sourcepub fn claims(
&self,
key_0: Claim1stKey
) -> StoragePaged<Claim2ndKey, IdentityClaim>
pub fn claims( &self, key_0: Claim1stKey ) -> StoragePaged<Claim2ndKey, IdentityClaim>
(Target ID, claim type) (issuer,scope) -> Associated claims
sourcepub fn custom_claims(&self) -> StoragePaged<CustomClaimTypeId, Vec<u8>>
pub fn custom_claims(&self) -> StoragePaged<CustomClaimTypeId, Vec<u8>>
CustomClaimTypeId -> String constant
sourcepub fn custom_claims_inverse(&self) -> StoragePaged<Vec<u8>, CustomClaimTypeId>
pub fn custom_claims_inverse(&self) -> StoragePaged<Vec<u8>, CustomClaimTypeId>
String constant -> CustomClaimTypeId
sourcepub fn key_records(&self) -> StoragePaged<AccountId, KeyRecord<AccountId>>
pub fn key_records(&self) -> StoragePaged<AccountId, KeyRecord<AccountId>>
Map from AccountId to KeyRecord
that holds the key’s identity and permissions.
sourcepub fn did_keys(&self, key_0: IdentityId) -> StoragePaged<AccountId, bool>
pub fn did_keys(&self, key_0: IdentityId) -> StoragePaged<AccountId, bool>
A reverse double map to allow finding all keys for an identity.
Authorization nonce per Identity. Initially is 0.
All authorizations that an identity/key has
All authorizations that an identity has given. (Authorizer, auth_id -> authorized)
sourcepub fn account_key_ref_count(&self) -> StoragePaged<AccountId, u64>
pub fn account_key_ref_count(&self) -> StoragePaged<AccountId, u64>
How many “strong” references to the account key.
Strong references will block a key from leaving it’s identity.
Pallets using “strong” references to account keys:
- Relayer: For
user_key
andpaying_key
sourcepub fn parent_did(&self) -> StoragePaged<IdentityId, IdentityId>
pub fn parent_did(&self) -> StoragePaged<IdentityId, IdentityId>
Parent identity if the DID is a child Identity.
Trait Implementations§
source§impl<'api> Clone for IdentityPagedQueryApi<'api>
impl<'api> Clone for IdentityPagedQueryApi<'api>
source§fn clone(&self) -> IdentityPagedQueryApi<'api>
fn clone(&self) -> IdentityPagedQueryApi<'api>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'api> !RefUnwindSafe for IdentityPagedQueryApi<'api>
impl<'api> Send for IdentityPagedQueryApi<'api>
impl<'api> Sync for IdentityPagedQueryApi<'api>
impl<'api> Unpin for IdentityPagedQueryApi<'api>
impl<'api> !UnwindSafe for IdentityPagedQueryApi<'api>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.