pub struct AccountSubscription {
pub plan_name: Option<String>,
pub status: Option<String>,
pub interval: Option<String>,
}Expand description
The account’s current subscription.
Fields§
§plan_name: Option<String>Plan name (e.g. Accelerate).
status: Option<String>Subscription status (e.g. active).
interval: Option<String>Billing interval (e.g. monthly).
Trait Implementations§
Source§impl Clone for AccountSubscription
impl Clone for AccountSubscription
Source§fn clone(&self) -> AccountSubscription
fn clone(&self) -> AccountSubscription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccountSubscription
impl Debug for AccountSubscription
Source§impl<'de> Deserialize<'de> for AccountSubscription
impl<'de> Deserialize<'de> for AccountSubscription
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 AccountSubscription
impl RefUnwindSafe for AccountSubscription
impl Send for AccountSubscription
impl Sync for AccountSubscription
impl Unpin for AccountSubscription
impl UnsafeUnpin for AccountSubscription
impl UnwindSafe for AccountSubscription
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