[][src]Struct stcloud::models::BillingInfo

pub struct BillingInfo { /* fields omitted */ }

Implementations

impl BillingInfo[src]

pub fn new() -> BillingInfo[src]

pub fn set_credit_card_id(&mut self, credit_card_id: i64)[src]

pub fn with_credit_card_id(self, credit_card_id: i64) -> BillingInfo[src]

pub fn credit_card_id(&self) -> Option<&i64>[src]

pub fn reset_credit_card_id(&mut self)[src]

pub fn set_payment_method(&mut self, payment_method: String)[src]

pub fn with_payment_method(self, payment_method: String) -> BillingInfo[src]

pub fn payment_method(&self) -> Option<&String>[src]

pub fn reset_payment_method(&mut self)[src]

pub fn set_plan_id(&mut self, plan_id: i64)[src]

pub fn with_plan_id(self, plan_id: i64) -> BillingInfo[src]

pub fn plan_id(&self) -> Option<&i64>[src]

pub fn reset_plan_id(&mut self)[src]

Trait Implementations

impl Debug for BillingInfo[src]

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

impl Serialize for BillingInfo[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, 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.