[][src]Struct cdpay::PaymentInfo

pub struct PaymentInfo {
    pub address: String,
    pub amount: String,
    pub currency_id: CryptoCurrency,
    pub currency: String,
    pub msg: String,
    pub handle: PaymentHandle,
}

Information about payment

Fields

address: String

The address to pay to.

amount: String

The amount of currency - as string to avoid problems with rounding.

currency_id: CryptoCurrency

The selected crypto currency.

currency: String

The selected crypto currency as string.

msg: String

Message

handle: PaymentHandle

Payent handle.

Allows waiting for payment or getting iframe ID.

Trait Implementations

impl Debug for PaymentInfo[src]

Auto Trait Implementations

impl !Send for PaymentInfo

impl !Sync for PaymentInfo

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Erased for T