pub struct AccountBalanceParams {
pub testnet_mode: Option<AccountBalanceParamsTestnetMode>,
}Expand description
Query parameters for the account balance endpoint.
JSON schema
{
"title": "AccountBalanceParams",
"description": "Query parameters for the account balance endpoint.",
"type": "object",
"properties": {
"testnet_mode": {
"description": "When set to true, returns balances from testnet
chains instead of mainnets.",
"type": "string",
"enum": [
"false",
"true"
]
}
},
"x-stainless-model": "accounts.account_balance_params"
}Fields§
§testnet_mode: Option<AccountBalanceParamsTestnetMode>When set to true, returns balances from testnet chains instead of mainnets.
Trait Implementations§
Source§impl Clone for AccountBalanceParams
impl Clone for AccountBalanceParams
Source§fn clone(&self) -> AccountBalanceParams
fn clone(&self) -> AccountBalanceParams
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 AccountBalanceParams
impl Debug for AccountBalanceParams
Source§impl Default for AccountBalanceParams
impl Default for AccountBalanceParams
Source§impl<'de> Deserialize<'de> for AccountBalanceParams
impl<'de> Deserialize<'de> for AccountBalanceParams
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
Source§impl From<&AccountBalanceParams> for AccountBalanceParams
impl From<&AccountBalanceParams> for AccountBalanceParams
Source§fn from(value: &AccountBalanceParams) -> Self
fn from(value: &AccountBalanceParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccountBalanceParams
impl RefUnwindSafe for AccountBalanceParams
impl Send for AccountBalanceParams
impl Sync for AccountBalanceParams
impl Unpin for AccountBalanceParams
impl UnsafeUnpin for AccountBalanceParams
impl UnwindSafe for AccountBalanceParams
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