pub struct UpgradeSubscriptionPlanRequest {
pub plan_type: PlanType,
pub promotion_code: Option<String>,
}
Expand description
Request to upgrade a subscription plan
Fields§
§plan_type: PlanType
The plan type to upgrade to
promotion_code: Option<String>
Promotion code
Trait Implementations§
Source§impl Clone for UpgradeSubscriptionPlanRequest
impl Clone for UpgradeSubscriptionPlanRequest
Source§fn clone(&self) -> UpgradeSubscriptionPlanRequest
fn clone(&self) -> UpgradeSubscriptionPlanRequest
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<'de> Deserialize<'de> for UpgradeSubscriptionPlanRequest
impl<'de> Deserialize<'de> for UpgradeSubscriptionPlanRequest
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 UpgradeSubscriptionPlanRequest
impl RefUnwindSafe for UpgradeSubscriptionPlanRequest
impl Send for UpgradeSubscriptionPlanRequest
impl Sync for UpgradeSubscriptionPlanRequest
impl Unpin for UpgradeSubscriptionPlanRequest
impl UnwindSafe for UpgradeSubscriptionPlanRequest
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