pub struct BalanceResponse {
pub balance_cents: i64,
}Expand description
The organization’s current balance — the sum of every ledger entry (credits positive, debits negative). May be negative.
JSON schema
{
"title": "BalanceResponse",
"description": "The organization's current balance — the sum of every
ledger entry (credits positive, debits negative). May be negative.",
"type": "object",
"required": [
"balance_cents"
],
"properties": {
"balance_cents": {
"description": "Current balance in cents (credits − debits). May be
negative.",
"type": "integer"
}
}
}Fields§
§balance_cents: i64Current balance in cents (credits − debits). May be negative.
Trait Implementations§
Source§impl Clone for BalanceResponse
impl Clone for BalanceResponse
Source§fn clone(&self) -> BalanceResponse
fn clone(&self) -> BalanceResponse
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 BalanceResponse
impl Debug for BalanceResponse
Source§impl<'de> Deserialize<'de> for BalanceResponse
impl<'de> Deserialize<'de> for BalanceResponse
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 BalanceResponse
impl RefUnwindSafe for BalanceResponse
impl Send for BalanceResponse
impl Sync for BalanceResponse
impl Unpin for BalanceResponse
impl UnsafeUnpin for BalanceResponse
impl UnwindSafe for BalanceResponse
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