pub struct PlatformEconomicsRevenue {
pub stripe_configured: bool,
pub mrr_usd: f64,
pub arr_usd: f64,
pub subscriptions: Vec<PlatformEconomicsRevenueSubscription>,
pub by_status: Map<String, Value>,
pub error: Option<String>,
}Expand description
PlatformEconomicsRevenue model.
Fields§
§stripe_configured: boolFalse on a deployment with no Stripe key; the figures are then zeros, not an error.
mrr_usd: f64§arr_usd: f64§subscriptions: Vec<PlatformEconomicsRevenueSubscription>§by_status: Map<String, Value>§error: Option<String>Present when Stripe could not be reached; the rest of the payload is still served.
Trait Implementations§
Source§impl Clone for PlatformEconomicsRevenue
impl Clone for PlatformEconomicsRevenue
Source§fn clone(&self) -> PlatformEconomicsRevenue
fn clone(&self) -> PlatformEconomicsRevenue
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 PlatformEconomicsRevenue
impl Debug for PlatformEconomicsRevenue
Source§impl Default for PlatformEconomicsRevenue
impl Default for PlatformEconomicsRevenue
Source§fn default() -> PlatformEconomicsRevenue
fn default() -> PlatformEconomicsRevenue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformEconomicsRevenue
impl<'de> Deserialize<'de> for PlatformEconomicsRevenue
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
Source§impl PartialEq for PlatformEconomicsRevenue
impl PartialEq for PlatformEconomicsRevenue
Source§impl Serialize for PlatformEconomicsRevenue
impl Serialize for PlatformEconomicsRevenue
impl StructuralPartialEq for PlatformEconomicsRevenue
Auto Trait Implementations§
impl Freeze for PlatformEconomicsRevenue
impl RefUnwindSafe for PlatformEconomicsRevenue
impl Send for PlatformEconomicsRevenue
impl Sync for PlatformEconomicsRevenue
impl Unpin for PlatformEconomicsRevenue
impl UnsafeUnpin for PlatformEconomicsRevenue
impl UnwindSafe for PlatformEconomicsRevenue
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