pub struct BillingPreviewPlanChange {
pub additions: Option<Vec<FixedChargeAddition>>,
pub category: String,
pub plan_code: String,
}Fields§
§additions: Option<Vec<FixedChargeAddition>>Fixed charges added once an upgrade applies, each billed when it is added rather than with the upgrade. Priced as if added now on the target plan and returned in planChange.additions, outside dueNow. Each must be sold by the target plan and named once.
category: StringCategory slug, e.g. analytics or messaging.
plan_code: StringPlan to change to, as a purchase of it changes it.
Implementations§
Source§impl BillingPreviewPlanChange
impl BillingPreviewPlanChange
pub fn serialize<__S>(
__self: &BillingPreviewPlanChange,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> BillingPreviewPlanChange
impl<'de> BillingPreviewPlanChange
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<BillingPreviewPlanChange, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for BillingPreviewPlanChange
impl Clone for BillingPreviewPlanChange
Source§impl Debug for BillingPreviewPlanChange
impl Debug for BillingPreviewPlanChange
Source§impl<'de> Deserialize<'de> for BillingPreviewPlanChange
impl<'de> Deserialize<'de> for BillingPreviewPlanChange
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 BillingPreviewPlanChange
impl RefUnwindSafe for BillingPreviewPlanChange
impl Send for BillingPreviewPlanChange
impl Sync for BillingPreviewPlanChange
impl Unpin for BillingPreviewPlanChange
impl UnsafeUnpin for BillingPreviewPlanChange
impl UnwindSafe for BillingPreviewPlanChange
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