pub struct GetAccountParams {
pub omit_zero_balances: Option<bool>,
pub recv_window: Option<Decimal>,
}Expand description
Request parameters for the [get_account] operation.
This struct holds all of the inputs you can pass when calling
get_account.
Fields§
§omit_zero_balances: Option<bool>When set to true, emits only the non-zero balances of an account.
This field is **optional.
recv_window: Option<Decimal>Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
This field is **optional.
Implementations§
Source§impl GetAccountParams
impl GetAccountParams
Sourcepub fn builder() -> GetAccountParamsBuilder
pub fn builder() -> GetAccountParamsBuilder
Create a builder for [get_account].
Trait Implementations§
Source§impl Clone for GetAccountParams
impl Clone for GetAccountParams
Source§fn clone(&self) -> GetAccountParams
fn clone(&self) -> GetAccountParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetAccountParams
impl Debug for GetAccountParams
Source§impl Default for GetAccountParams
impl Default for GetAccountParams
Source§fn default() -> GetAccountParams
fn default() -> GetAccountParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAccountParams
impl<'de> Deserialize<'de> for GetAccountParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetAccountParams
impl RefUnwindSafe for GetAccountParams
impl Send for GetAccountParams
impl Sync for GetAccountParams
impl Unpin for GetAccountParams
impl UnsafeUnpin for GetAccountParams
impl UnwindSafe for GetAccountParams
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