pub struct CreditBalance {
pub customer_id: CustomerID,
pub currency_code: CurrencyCode,
pub balance: CustomerBalance,
}
Expand description
Represents a credit balance for a customer.
Fields§
§customer_id: CustomerID
Unique Paddle ID for this customer entity, prefixed with ctm_
.
currency_code: CurrencyCode
Supported three-letter ISO 4217 currency code.
balance: CustomerBalance
Trait Implementations§
Source§impl Clone for CreditBalance
impl Clone for CreditBalance
Source§fn clone(&self) -> CreditBalance
fn clone(&self) -> CreditBalance
Returns a duplicate of the value. Read more
1.0.0 · 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 CreditBalance
impl Debug for CreditBalance
Source§impl<'de> Deserialize<'de> for CreditBalance
impl<'de> Deserialize<'de> for CreditBalance
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 CreditBalance
impl RefUnwindSafe for CreditBalance
impl Send for CreditBalance
impl Sync for CreditBalance
impl Unpin for CreditBalance
impl UnwindSafe for CreditBalance
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