pub struct Payment {}Expand description
A payment to a person through their payout account. Amounts are in dollars.
Fields§
§id: String§status: PaymentStatus§amount: f64§fee: f64The whole fee, taken from what the payee receives: the card cost, Fauna’s cut and the app’s fee.
app_fee: f64The app’s part of fee, paid to the account that owns the API key that asked for the
payment.
refunded: f64§currency: String§payee: StringThe payee’s email.
payer: Option<String>§reference: StringYour own label, to find the payment again.
description: String§created: DateTime<Utc>§url: Option<String>Where the payer pays. Only returned by create.
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 Forget for Payment
impl Freeze for Payment
impl Move 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