pub struct Payment {
pub amount: String,
pub card_last_4: Option<String>,
pub created_at: String,
pub currency: String,
pub status: String,
pub marketplace_amount: Option<String>,
}Expand description
A payment recorded on the account.
Fields§
§amount: StringPayment amount as a string in the account’s currency.
card_last_4: Option<String>Last four digits of the card used for the payment.
created_at: StringTimestamp when the payment was recorded.
currency: StringCurrency code (e.g. usd).
status: StringPayment status.
marketplace_amount: Option<String>Portion of the payment attributed to marketplace spending.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Payment
impl<'de> Deserialize<'de> for Payment
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 Payment
impl RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl UnsafeUnpin for Payment
impl UnwindSafe for Payment
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