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<'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
impl StructuralPartialEq for CreateWorkspaceSubscriptionBody
Auto Trait Implementations§
impl Forget for CreateWorkspaceSubscriptionBody
impl Freeze for CreateWorkspaceSubscriptionBody
impl RefUnwindSafe for CreateWorkspaceSubscriptionBody
impl Send for CreateWorkspaceSubscriptionBody
impl Sync for CreateWorkspaceSubscriptionBody
impl Unpin for CreateWorkspaceSubscriptionBody
impl UnsafeUnpin 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