pub struct PlanResponseData {Show 17 fields
    pub subscriptions: Option<Vec<Subscription>>,
    pub name: String,
    pub amount: u32,
    pub interval: Interval,
    pub integration: u32,
    pub domain: Domain,
    pub plan_code: String,
    pub description: Option<String>,
    pub send_invoices: Option<bool>,
    pub send_sms: bool,
    pub hosted_page: bool,
    pub hosted_page_url: Option<String>,
    pub hosted_page_summary: Option<String>,
    pub currency: Currency,
    pub id: u32,
    pub created_at: String,
    pub updated_at: String,
}Expand description
This struct represents the data of the create plan response.
Fields§
§subscriptions: Option<Vec<Subscription>>§name: String§amount: u32§interval: Interval§integration: u32§domain: Domain§plan_code: String§description: Option<String>§send_invoices: Option<bool>§send_sms: bool§hosted_page: bool§hosted_page_url: Option<String>§hosted_page_summary: Option<String>§currency: Currency§id: u32§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for PlanResponseData
 
impl Clone for PlanResponseData
Source§fn clone(&self) -> PlanResponseData
 
fn clone(&self) -> PlanResponseData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for PlanResponseData
 
impl Debug for PlanResponseData
Source§impl Default for PlanResponseData
 
impl Default for PlanResponseData
Source§fn default() -> PlanResponseData
 
fn default() -> PlanResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlanResponseData
 
impl<'de> Deserialize<'de> for PlanResponseData
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 Freeze for PlanResponseData
impl RefUnwindSafe for PlanResponseData
impl Send for PlanResponseData
impl Sync for PlanResponseData
impl Unpin for PlanResponseData
impl UnwindSafe for PlanResponseData
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