pub struct PaymentEntity {
pub id: Option<i64>,
pub amount: Option<f64>,
pub balance: Option<f64>,
pub created_at: Option<String>,
pub currency: Option<String>,
pub download_uri: Option<String>,
pub payment_line_items: Option<Vec<PaymentLineItemEntity>>,
}
Expand description
A Payment entity
Fields§
§id: Option<i64>
Payment ID
amount: Option<f64>
Amount
balance: Option<f64>
Balance
created_at: Option<String>
Created at
currency: Option<String>
Currency (e.g., “USD”)
download_uri: Option<String>
Download URI
payment_line_items: Option<Vec<PaymentLineItemEntity>>
Associated payment line items
Trait Implementations§
Source§impl Clone for PaymentEntity
impl Clone for PaymentEntity
Source§fn clone(&self) -> PaymentEntity
fn clone(&self) -> PaymentEntity
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 PaymentEntity
impl Debug for PaymentEntity
Source§impl<'de> Deserialize<'de> for PaymentEntity
impl<'de> Deserialize<'de> for PaymentEntity
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 PaymentEntity
impl RefUnwindSafe for PaymentEntity
impl Send for PaymentEntity
impl Sync for PaymentEntity
impl Unpin for PaymentEntity
impl UnwindSafe for PaymentEntity
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