[][src]Struct rtdlib::types::PaymentForm

pub struct PaymentForm { /* fields omitted */ }

Contains information about an invoice payment form

Implementations

impl PaymentForm[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDPaymentFormBuilder[src]

pub fn invoice(&self) -> &Invoice[src]

pub fn url(&self) -> &String[src]

pub fn payments_provider(&self) -> &Option<PaymentsProviderStripe>[src]

pub fn saved_order_info(&self) -> &Option<OrderInfo>[src]

pub fn saved_credentials(&self) -> &Option<SavedCredentials>[src]

pub fn can_save_credentials(&self) -> bool[src]

pub fn need_password(&self) -> bool[src]

Trait Implementations

impl AsRef<PaymentForm> for PaymentForm[src]

impl Clone for PaymentForm[src]

impl Debug for PaymentForm[src]

impl Default for PaymentForm[src]

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

impl RObject for PaymentForm[src]

impl Serialize for PaymentForm[src]

Auto Trait Implementations

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.