[][src]Struct iota_client::core::GetBalancesBuilder

pub struct GetBalancesBuilder { /* fields omitted */ }

Builder to construct getBalances API

Implementations

impl GetBalancesBuilder[src]

pub fn addresses(self, addresses: &[Address]) -> Self[src]

Add address for which to get the balance (do not include the checksum)

pub fn threshold(self, threshold: u8) -> Self[src]

Set confirmation threshold between 0 and 100

pub fn tips(self, tips: &[Hash]) -> Self[src]

Add tips whose history of transactions to traverse to find the balance

pub async fn send(self) -> Result<GetBalancesResponse>[src]

Send getBalances request

Trait Implementations

impl Debug for GetBalancesBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,