pub struct SubscriptionReportRow {Show 15 fields
pub subscription_id: SubscriptionId,
pub provider: String,
pub provider_account_id: ProviderAccountId,
pub account: String,
pub plan_name: String,
pub price: i64,
pub currency: String,
pub billing_period: BillingPeriod,
pub started_at: DateTime<Utc>,
pub ended_at: Option<DateTime<Utc>>,
pub status: SubscriptionStatus,
pub events: u64,
pub usage: UsageTotals,
pub value_minus_price_usd: Option<i64>,
pub value_to_price_ratio: Option<f64>,
}Fields§
§subscription_id: SubscriptionId§provider: String§provider_account_id: ProviderAccountId§account: String§plan_name: String§price: i64§currency: String§billing_period: BillingPeriod§started_at: DateTime<Utc>§ended_at: Option<DateTime<Utc>>§status: SubscriptionStatus§events: u64§usage: UsageTotals§value_minus_price_usd: Option<i64>§value_to_price_ratio: Option<f64>Trait Implementations§
Source§impl Clone for SubscriptionReportRow
impl Clone for SubscriptionReportRow
Source§fn clone(&self) -> SubscriptionReportRow
fn clone(&self) -> SubscriptionReportRow
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 moreAuto Trait Implementations§
impl Freeze for SubscriptionReportRow
impl RefUnwindSafe for SubscriptionReportRow
impl Send for SubscriptionReportRow
impl Sync for SubscriptionReportRow
impl Unpin for SubscriptionReportRow
impl UnsafeUnpin for SubscriptionReportRow
impl UnwindSafe for SubscriptionReportRow
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