pub struct BillingInfo {
pub entitled: bool,
pub status: String,
pub trial_ends_at: Option<i64>,
}Expand description
The account’s billing standing (P2.4), surfaced so an embed can show a clear “renew to keep serving” state instead of a silent route-down.
Fields§
§entitled: bool§status: String“comp” | “active” | “trialing” | “past_due” | “hold”
trial_ends_at: Option<i64>Trait Implementations§
Source§impl Clone for BillingInfo
impl Clone for BillingInfo
Source§fn clone(&self) -> BillingInfo
fn clone(&self) -> BillingInfo
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 BillingInfo
impl Debug for BillingInfo
Source§impl Default for BillingInfo
impl Default for BillingInfo
Source§fn default() -> BillingInfo
fn default() -> BillingInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingInfo
impl<'de> Deserialize<'de> for BillingInfo
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 BillingInfo
impl RefUnwindSafe for BillingInfo
impl Send for BillingInfo
impl Sync for BillingInfo
impl Unpin for BillingInfo
impl UnsafeUnpin for BillingInfo
impl UnwindSafe for BillingInfo
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