pub struct AccountBalanceQuery { /* private fields */ }
Implementations§
Source§impl AccountBalanceQuery
impl AccountBalanceQuery
pub fn set_max_query_payment( &mut self, max_payment: Hbar, ) -> Result<&mut Self, HederaError>
pub fn set_query_payment( &mut self, payment: Hbar, ) -> Result<&mut Self, HederaError>
pub fn set_node_account_ids( &mut self, node_account_ids: Vec<AccountId>, ) -> Result<&mut Self, HederaError>
pub fn set_max_retry(&mut self, max_retry: u8) -> Result<&mut Self, HederaError>
pub fn set_min_backoff( &mut self, backoff: u64, ) -> Result<&mut Self, HederaError>
pub fn set_max_backoff( &mut self, backoff: u64, ) -> Result<&mut Self, HederaError>
Source§impl AccountBalanceQuery
impl AccountBalanceQuery
pub async fn execute_async( &mut self, client: &Client, ) -> Result<IntermediateResponse, HederaError>
Source§impl AccountBalanceQuery
impl AccountBalanceQuery
pub fn new() -> AccountBalanceQuery
pub fn set_account_id( &mut self, id: AccountId, ) -> Result<&mut Self, HederaError>
pub fn account_id(&self) -> Result<AccountId, HederaError>
pub fn set_contract_id( &mut self, id: ContractId, ) -> Result<&mut Self, HederaError>
pub fn contract_id(&self) -> Result<ContractId, HederaError>
pub async fn execute( &mut self, client: &Client, ) -> Result<AccountBalance, HederaError>
Trait Implementations§
Source§impl Clone for AccountBalanceQuery
impl Clone for AccountBalanceQuery
Source§fn clone(&self) -> AccountBalanceQuery
fn clone(&self) -> AccountBalanceQuery
Returns a duplicate 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 moreSource§impl Debug for AccountBalanceQuery
impl Debug for AccountBalanceQuery
Source§impl Default for AccountBalanceQuery
impl Default for AccountBalanceQuery
Source§impl PartialEq for AccountBalanceQuery
impl PartialEq for AccountBalanceQuery
impl StructuralPartialEq for AccountBalanceQuery
Auto Trait Implementations§
impl Freeze for AccountBalanceQuery
impl RefUnwindSafe for AccountBalanceQuery
impl Send for AccountBalanceQuery
impl Sync for AccountBalanceQuery
impl Unpin for AccountBalanceQuery
impl UnwindSafe for AccountBalanceQuery
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
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>
Converts
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>
Converts
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request