pub struct BillingSubscriptionItem {
pub product_id: Option<String>,
pub name: Option<String>,
pub amount: Option<f64>,
pub quantity: Option<i32>,
pub interval: Option<String>,
pub sponsored_subscription_item: Option<bool>,
pub addon_subscription_item: Option<bool>,
}
Fields§
§product_id: Option<String>
§name: Option<String>
§amount: Option<f64>
§quantity: Option<i32>
§interval: Option<String>
§sponsored_subscription_item: Option<bool>
§addon_subscription_item: Option<bool>
Implementations§
Source§impl BillingSubscriptionItem
impl BillingSubscriptionItem
pub fn new() -> BillingSubscriptionItem
Trait Implementations§
Source§impl Clone for BillingSubscriptionItem
impl Clone for BillingSubscriptionItem
Source§fn clone(&self) -> BillingSubscriptionItem
fn clone(&self) -> BillingSubscriptionItem
Returns a copy 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 BillingSubscriptionItem
impl Debug for BillingSubscriptionItem
Source§impl Default for BillingSubscriptionItem
impl Default for BillingSubscriptionItem
Source§fn default() -> BillingSubscriptionItem
fn default() -> BillingSubscriptionItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingSubscriptionItem
impl<'de> Deserialize<'de> for BillingSubscriptionItem
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
Source§impl PartialEq for BillingSubscriptionItem
impl PartialEq for BillingSubscriptionItem
Source§impl Serialize for BillingSubscriptionItem
impl Serialize for BillingSubscriptionItem
impl StructuralPartialEq for BillingSubscriptionItem
Auto Trait Implementations§
impl Freeze for BillingSubscriptionItem
impl RefUnwindSafe for BillingSubscriptionItem
impl Send for BillingSubscriptionItem
impl Sync for BillingSubscriptionItem
impl Unpin for BillingSubscriptionItem
impl UnwindSafe for BillingSubscriptionItem
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