pub struct PaidSubscription {Show 15 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub type: Option<String>,
pub seats: Option<f64>,
pub seats_minimum: Option<f64>,
pub seats_maximum: Option<f64>,
pub creator: Option<Box<User>>,
pub organization: Option<Box<Organization>>,
pub collection_method: Option<String>,
pub canceled_at: Option<DateTime<Utc>>,
pub cancel_at: Option<DateTime<Utc>>,
pub pending_change_type: Option<String>,
pub next_billing_at: Option<DateTime<Utc>>,
}Expand description
The paid subscription of an organization.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
type: Option<String>The subscription type.
seats: Option<f64>The number of seats in the subscription.
seats_minimum: Option<f64>The minimum number of seats that will be billed in the subscription.
seats_maximum: Option<f64>The maximum number of seats that will be billed in the subscription.
creator: Option<Box<User>>The creator of the subscription.
organization: Option<Box<Organization>>The organization that the subscription is associated with.
collection_method: Option<String>The collection method for this subscription, either automatically charged or invoiced.
canceled_at: Option<DateTime<Utc>>The date the subscription was canceled, if any.
cancel_at: Option<DateTime<Utc>>The date the subscription is scheduled to be canceled, if any.
pending_change_type: Option<String>The subscription type of a pending change. Null if no change pending.
next_billing_at: Option<DateTime<Utc>>The date the subscription will be billed next.
Trait Implementations§
Source§impl Clone for PaidSubscription
impl Clone for PaidSubscription
Source§fn clone(&self) -> PaidSubscription
fn clone(&self) -> PaidSubscription
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more