[][src]Struct ya_client_model::payment::payment::Payment

pub struct Payment {
    pub payment_id: String,
    pub payer_id: NodeId,
    pub payee_id: NodeId,
    pub payer_addr: String,
    pub payee_addr: String,
    pub payment_platform: String,
    pub amount: BigDecimal,
    pub timestamp: DateTime<Utc>,
    pub agreement_payments: Vec<AgreementPayment>,
    pub activity_payments: Vec<ActivityPayment>,
    pub details: String,
}

Fields

payment_id: Stringpayer_id: NodeIdpayee_id: NodeIdpayer_addr: Stringpayee_addr: Stringpayment_platform: Stringamount: BigDecimaltimestamp: DateTime<Utc>agreement_payments: Vec<AgreementPayment>activity_payments: Vec<ActivityPayment>details: String

Trait Implementations

impl Clone for Payment[src]

impl Debug for Payment[src]

impl<'de> Deserialize<'de> for Payment[src]

impl PartialEq<Payment> for Payment[src]

impl Serialize for Payment[src]

impl StructuralPartialEq for Payment[src]

Auto Trait Implementations

impl RefUnwindSafe for Payment

impl Send for Payment

impl Sync for Payment

impl Unpin for Payment

impl UnwindSafe for Payment

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.