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 type and identity.
Sourcepub fn key_extrinsic_permissions(
&self,
) -> StoragePaged<AccountId, ExtrinsicPermissions>
pub fn key_extrinsic_permissions( &self, ) -> StoragePaged<AccountId, ExtrinsicPermissions>
A secondary key’s extrinsic permissions.
Sourcepub fn key_asset_permissions(
&self,
) -> StoragePaged<AccountId, SubsetRestriction<AssetId>>
pub fn key_asset_permissions( &self, ) -> StoragePaged<AccountId, SubsetRestriction<AssetId>>
A secondary key’s asset permissions.
Sourcepub fn key_portfolio_permissions(
&self,
) -> StoragePaged<AccountId, SubsetRestriction<PortfolioId>>
pub fn key_portfolio_permissions( &self, ) -> StoragePaged<AccountId, SubsetRestriction<PortfolioId>>
A secondary key’s portfolio 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)
Sourcepub fn number_of_given_auths(&self) -> StoragePaged<IdentityId, u32>
pub fn number_of_given_auths(&self) -> StoragePaged<IdentityId, u32>
Track the number of authorizations given by each identity.
Tracks all authorizations that must be deleted
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§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<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
Source§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
.