pub struct Balance {
pub available: i64,
pub held: Option<i64>,
pub currency: String,
pub customer: Option<String>,
pub monthly_limit: Option<i64>,
pub per_intent_limit: Option<i64>,
pub spent_this_month: Option<i64>,
}Fields§
§available: i64What intents can pay from now.
held: Option<i64>Reserved for intents at their payment step.
currency: String§customer: Option<String>The customer whose balance this is; None for your account’s.
monthly_limit: Option<i64>§per_intent_limit: Option<i64>The most one purchase may cost, merchant total plus fee, in cents.
spent_this_month: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Balance
impl<'de> Deserialize<'de> for Balance
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 Balance
impl RefUnwindSafe for Balance
impl Send for Balance
impl Sync for Balance
impl Unpin for Balance
impl UnsafeUnpin for Balance
impl UnwindSafe for Balance
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