pub struct BillingStatus {
pub pages_remaining: i64,
pub subscription: Option<BillingSubscription>,
pub app_account_token: String,
}Expand description
What the account can spend and what it pays for, from GET /api/billing.
Fields§
§pages_remaining: i64§subscription: Option<BillingSubscription>The active subscription, or None if the account has none.
app_account_token: StringThe UUID to set as the appAccountToken of every App Store purchase,
so the server credits it to this account and no other.
Trait Implementations§
Source§impl Clone for BillingStatus
impl Clone for BillingStatus
Source§impl Debug for BillingStatus
impl Debug for BillingStatus
Source§impl<'de> Deserialize<'de> for BillingStatus
impl<'de> Deserialize<'de> for BillingStatus
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 Forget for BillingStatus
impl Freeze for BillingStatus
impl Move for BillingStatus
impl RefUnwindSafe for BillingStatus
impl Send for BillingStatus
impl Sync for BillingStatus
impl Unpin for BillingStatus
impl UnsafeUnpin for BillingStatus
impl UnwindSafe for BillingStatus
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