Type Alias IdentityBalance
pub type IdentityBalance = u64;Expand description
Identity balance.
Trait Implementations§
source§impl Fetch for IdentityBalance
 
impl Fetch for IdentityBalance
source§type Request = GetIdentityBalanceRequest
 
type Request = GetIdentityBalanceRequest
Type of request used to fetch data from Platform. Read more
source§fn fetch<'life0, 'async_trait, Q>(
    sdk: &'life0 Sdk,
    query: Q,
) -> Pin<Box<dyn Future<Output = Result<Option<Self>, Error>> + Send + 'async_trait>>
 
fn fetch<'life0, 'async_trait, Q>( sdk: &'life0 Sdk, query: Q, ) -> Pin<Box<dyn Future<Output = Result<Option<Self>, Error>> + Send + 'async_trait>>
Fetch single object from Platform. Read more
source§fn fetch_with_metadata<'life0, 'async_trait, Q>(
    sdk: &'life0 Sdk,
    query: Q,
    settings: Option<RequestSettings>,
) -> Pin<Box<dyn Future<Output = Result<(Option<Self>, ResponseMetadata), Error>> + Send + 'async_trait>>
 
fn fetch_with_metadata<'life0, 'async_trait, Q>( sdk: &'life0 Sdk, query: Q, settings: Option<RequestSettings>, ) -> Pin<Box<dyn Future<Output = Result<(Option<Self>, ResponseMetadata), Error>> + Send + 'async_trait>>
Fetch single object from Platform with metadata. Read more
source§fn fetch_with_metadata_and_proof<'life0, 'async_trait, Q>(
    sdk: &'life0 Sdk,
    query: Q,
    settings: Option<RequestSettings>,
) -> Pin<Box<dyn Future<Output = Result<(Option<Self>, ResponseMetadata, Proof), Error>> + Send + 'async_trait>>
 
fn fetch_with_metadata_and_proof<'life0, 'async_trait, Q>( sdk: &'life0 Sdk, query: Q, settings: Option<RequestSettings>, ) -> Pin<Box<dyn Future<Output = Result<(Option<Self>, ResponseMetadata, Proof), Error>> + Send + 'async_trait>>
Fetch single object from Platform with metadata and underlying proof. Read more
source§fn fetch_with_settings<'life0, 'async_trait, Q>(
    sdk: &'life0 Sdk,
    query: Q,
    settings: RequestSettings,
) -> Pin<Box<dyn Future<Output = Result<Option<Self>, Error>> + Send + 'async_trait>>
 
fn fetch_with_settings<'life0, 'async_trait, Q>( sdk: &'life0 Sdk, query: Q, settings: RequestSettings, ) -> Pin<Box<dyn Future<Output = Result<Option<Self>, Error>> + Send + 'async_trait>>
Fetch single object from Platform. Read more
source§impl FetchMany<Identifier, IndexMap<Identifier, Option<u64>>> for IdentityBalance
 
impl FetchMany<Identifier, IndexMap<Identifier, Option<u64>>> for IdentityBalance
Fetch multiple identity balances.
§Supported query types
- Vec
- list of identifiers of identities whose balance we want to fetch  
source§type Request = GetIdentitiesBalancesRequest
 
type Request = GetIdentitiesBalancesRequest
Type of request used to fetch multiple objects from Platform. Read more
source§fn fetch_many<'life0, 'async_trait, Q>(
    sdk: &'life0 Sdk,
    query: Q,
) -> Pin<Box<dyn Future<Output = Result<O, Error>> + Send + 'async_trait>>
 
fn fetch_many<'life0, 'async_trait, Q>( sdk: &'life0 Sdk, query: Q, ) -> Pin<Box<dyn Future<Output = Result<O, Error>> + Send + 'async_trait>>
Fetch (or search) multiple objects on the Dash Platform Read more
source§fn fetch_many_with_metadata<'life0, 'async_trait, Q>(
    sdk: &'life0 Sdk,
    query: Q,
    settings: Option<RequestSettings>,
) -> Pin<Box<dyn Future<Output = Result<(O, ResponseMetadata), Error>> + Send + 'async_trait>>
 
fn fetch_many_with_metadata<'life0, 'async_trait, Q>( sdk: &'life0 Sdk, query: Q, settings: Option<RequestSettings>, ) -> Pin<Box<dyn Future<Output = Result<(O, ResponseMetadata), Error>> + Send + 'async_trait>>
Fetch multiple objects from Platform with metadata. Read more
source§fn fetch_many_with_metadata_and_proof<'life0, 'async_trait, Q>(
    sdk: &'life0 Sdk,
    query: Q,
    settings: Option<RequestSettings>,
) -> Pin<Box<dyn Future<Output = Result<(O, ResponseMetadata, Proof), Error>> + Send + 'async_trait>>
 
fn fetch_many_with_metadata_and_proof<'life0, 'async_trait, Q>( sdk: &'life0 Sdk, query: Q, settings: Option<RequestSettings>, ) -> Pin<Box<dyn Future<Output = Result<(O, ResponseMetadata, Proof), Error>> + Send + 'async_trait>>
Fetch multiple objects from Platform with metadata and underlying proof. Read more
source§fn fetch_by_identifiers<'life0, 'async_trait, I>(
    sdk: &'life0 Sdk,
    identifiers: I,
) -> Pin<Box<dyn Future<Output = Result<O, Error>> + Send + 'async_trait>>where
    Vec<Identifier>: Query<<Self as FetchMany<K, O>>::Request>,
    I: 'async_trait + IntoIterator<Item = Identifier> + Send,
    Self: Send + 'async_trait,
    'life0: 'async_trait,
 
fn fetch_by_identifiers<'life0, 'async_trait, I>(
    sdk: &'life0 Sdk,
    identifiers: I,
) -> Pin<Box<dyn Future<Output = Result<O, Error>> + Send + 'async_trait>>where
    Vec<Identifier>: Query<<Self as FetchMany<K, O>>::Request>,
    I: 'async_trait + IntoIterator<Item = Identifier> + Send,
    Self: Send + 'async_trait,
    'life0: 'async_trait,
Fetch multiple objects from Platform by their identifiers. Read more