pub struct BulkSwapPlanRequest {
pub new_plan_variation_id: String,
pub old_plan_variation_id: String,
pub location_id: String,
}Expand description
This is a model struct for the BulkSwapPlanRequest type.
Fields§
§new_plan_variation_id: StringThe ID of the new subscription plan.
old_plan_variation_id: StringThe ID of the plan variation whose subscriptions should be swapped. Active subscriptions using this plan variation will be subscribed to the new plan variation on their next billing day.
location_id: StringThe ID of the location to associate with the swapped subscriptions.
Trait Implementations§
Source§impl Clone for BulkSwapPlanRequest
impl Clone for BulkSwapPlanRequest
Source§fn clone(&self) -> BulkSwapPlanRequest
fn clone(&self) -> BulkSwapPlanRequest
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 BulkSwapPlanRequest
impl Debug for BulkSwapPlanRequest
Source§impl Default for BulkSwapPlanRequest
impl Default for BulkSwapPlanRequest
Source§fn default() -> BulkSwapPlanRequest
fn default() -> BulkSwapPlanRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for BulkSwapPlanRequest
impl PartialEq for BulkSwapPlanRequest
Source§impl Serialize for BulkSwapPlanRequest
impl Serialize for BulkSwapPlanRequest
impl Eq for BulkSwapPlanRequest
impl StructuralPartialEq for BulkSwapPlanRequest
Auto Trait Implementations§
impl Freeze for BulkSwapPlanRequest
impl RefUnwindSafe for BulkSwapPlanRequest
impl Send for BulkSwapPlanRequest
impl Sync for BulkSwapPlanRequest
impl Unpin for BulkSwapPlanRequest
impl UnwindSafe for BulkSwapPlanRequest
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