pub struct BillingSubscription {
pub store: String,
pub renews_at: Option<String>,
}Fields§
§store: String"app_store" for a subscription bought in the App Store, "web" for
one bought any other way, which the App Store must not be offered to
replace.
renews_at: Option<String>ISO 8601 UTC timestamp of the next renewal, if the server knows it.
Trait Implementations§
Source§impl Clone for BillingSubscription
impl Clone for BillingSubscription
Source§impl Debug for BillingSubscription
impl Debug for BillingSubscription
Source§impl<'de> Deserialize<'de> for BillingSubscription
impl<'de> Deserialize<'de> for BillingSubscription
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 BillingSubscription
impl RefUnwindSafe for BillingSubscription
impl Send for BillingSubscription
impl Sync for BillingSubscription
impl Unpin for BillingSubscription
impl UnsafeUnpin for BillingSubscription
impl UnwindSafe for BillingSubscription
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