pub struct UpdateSubscriptionBody {
pub interval: IntervalEnum,
pub plan: String,
pub return_to: Option<String>,
}Expand description
UpdateSubscriptionBody : Update Subscription Request Body
Fields§
§interval: IntervalEnummonthly Monthly yearly Yearly
plan: String§return_to: Option<String>Implementations§
source§impl UpdateSubscriptionBody
impl UpdateSubscriptionBody
sourcepub fn new(interval: IntervalEnum, plan: String) -> UpdateSubscriptionBody
pub fn new(interval: IntervalEnum, plan: String) -> UpdateSubscriptionBody
Update Subscription Request Body
Trait Implementations§
source§impl Clone for UpdateSubscriptionBody
impl Clone for UpdateSubscriptionBody
source§fn clone(&self) -> UpdateSubscriptionBody
fn clone(&self) -> UpdateSubscriptionBody
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 UpdateSubscriptionBody
impl Debug for UpdateSubscriptionBody
source§impl<'de> Deserialize<'de> for UpdateSubscriptionBody
impl<'de> Deserialize<'de> for UpdateSubscriptionBody
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<UpdateSubscriptionBody> for UpdateSubscriptionBody
impl PartialEq<UpdateSubscriptionBody> for UpdateSubscriptionBody
source§fn eq(&self, other: &UpdateSubscriptionBody) -> bool
fn eq(&self, other: &UpdateSubscriptionBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UpdateSubscriptionBody
impl Serialize for UpdateSubscriptionBody
impl StructuralPartialEq for UpdateSubscriptionBody
Auto Trait Implementations§
impl RefUnwindSafe for UpdateSubscriptionBody
impl Send for UpdateSubscriptionBody
impl Sync for UpdateSubscriptionBody
impl Unpin for UpdateSubscriptionBody
impl UnwindSafe for UpdateSubscriptionBody
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