pub struct AdminUpgradeSubscriptionPlanRequest {
pub plan_type: PlanType,
pub user_id: UserId,
}
Expand description
Request to upgrade a subscription plan
Fields§
§plan_type: PlanType
The plan type to upgrade to
user_id: UserId
User ID if the request is being made by an admin
Trait Implementations§
Source§impl Clone for AdminUpgradeSubscriptionPlanRequest
impl Clone for AdminUpgradeSubscriptionPlanRequest
Source§fn clone(&self) -> AdminUpgradeSubscriptionPlanRequest
fn clone(&self) -> AdminUpgradeSubscriptionPlanRequest
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 AdminUpgradeSubscriptionPlanRequest
impl<'de> Deserialize<'de> for AdminUpgradeSubscriptionPlanRequest
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 AdminUpgradeSubscriptionPlanRequest
impl RefUnwindSafe for AdminUpgradeSubscriptionPlanRequest
impl Send for AdminUpgradeSubscriptionPlanRequest
impl Sync for AdminUpgradeSubscriptionPlanRequest
impl Unpin for AdminUpgradeSubscriptionPlanRequest
impl UnwindSafe for AdminUpgradeSubscriptionPlanRequest
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