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.
sourcepub fn child_did(&self, key_0: IdentityId) -> StoragePaged<IdentityId, bool>
pub fn child_did(&self, key_0: IdentityId) -> StoragePaged<IdentityId, bool>
All child identities of a parent (i.e ParentDID, ChildDID, true)
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>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl<'api> Freeze for IdentityPagedQueryApi<'api>
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
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
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>,
T
. Read moresource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.