pub struct GetBalanceResponseBalance {
pub current_balance: Option<Decimal>,
pub spent_total: Option<Decimal>,
pub calls_total: Option<u64>,
pub time_total: Option<String>,
pub spent_today: Option<Decimal>,
pub calls_today: Option<u64>,
pub time_today: Option<String>,
}Expand description
Response body for Client::get_balance (wire method getBalance).
Fields§
§current_balance: Option<Decimal>§spent_total: Option<Decimal>§calls_total: Option<u64>§time_total: Option<String>§spent_today: Option<Decimal>§calls_today: Option<u64>§time_today: Option<String>Trait Implementations§
Source§impl Clone for GetBalanceResponseBalance
impl Clone for GetBalanceResponseBalance
Source§fn clone(&self) -> GetBalanceResponseBalance
fn clone(&self) -> GetBalanceResponseBalance
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 GetBalanceResponseBalance
impl Debug for GetBalanceResponseBalance
Source§impl Default for GetBalanceResponseBalance
impl Default for GetBalanceResponseBalance
Source§fn default() -> GetBalanceResponseBalance
fn default() -> GetBalanceResponseBalance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetBalanceResponseBalance
impl<'de> Deserialize<'de> for GetBalanceResponseBalance
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 GetBalanceResponseBalance
impl RefUnwindSafe for GetBalanceResponseBalance
impl Send for GetBalanceResponseBalance
impl Sync for GetBalanceResponseBalance
impl Unpin for GetBalanceResponseBalance
impl UnsafeUnpin for GetBalanceResponseBalance
impl UnwindSafe for GetBalanceResponseBalance
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