pub struct CreateWorkspaceSubscriptionBody {
pub currency: Option<CurrencyEnum>,
pub interval: IntervalEnum,
pub plan: String,
pub return_to: Option<String>,
}Fields§
§currency: Option<CurrencyEnum>usd USD eur Euro
interval: IntervalEnummonthly Monthly yearly Yearly
plan: String§return_to: Option<String>Implementations§
Source§impl CreateWorkspaceSubscriptionBody
impl CreateWorkspaceSubscriptionBody
pub fn new( interval: IntervalEnum, plan: String, ) -> CreateWorkspaceSubscriptionBody
Trait Implementations§
Source§impl Clone for CreateWorkspaceSubscriptionBody
impl Clone for CreateWorkspaceSubscriptionBody
Source§fn clone(&self) -> CreateWorkspaceSubscriptionBody
fn clone(&self) -> CreateWorkspaceSubscriptionBody
Returns a duplicate 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 Default for CreateWorkspaceSubscriptionBody
impl Default for CreateWorkspaceSubscriptionBody
Source§fn default() -> CreateWorkspaceSubscriptionBody
fn default() -> CreateWorkspaceSubscriptionBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateWorkspaceSubscriptionBody
impl<'de> Deserialize<'de> for CreateWorkspaceSubscriptionBody
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 for CreateWorkspaceSubscriptionBody
impl PartialEq for CreateWorkspaceSubscriptionBody
Source§fn eq(&self, other: &CreateWorkspaceSubscriptionBody) -> bool
fn eq(&self, other: &CreateWorkspaceSubscriptionBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateWorkspaceSubscriptionBody
Auto Trait Implementations§
impl Freeze for CreateWorkspaceSubscriptionBody
impl RefUnwindSafe for CreateWorkspaceSubscriptionBody
impl Send for CreateWorkspaceSubscriptionBody
impl Sync for CreateWorkspaceSubscriptionBody
impl Unpin for CreateWorkspaceSubscriptionBody
impl UnwindSafe for CreateWorkspaceSubscriptionBody
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