pub struct BillingIr {
pub enabled: bool,
pub provider: Option<String>,
pub subscriptions: bool,
pub trials: bool,
pub customer_portal: bool,
pub metered_usage: bool,
pub plans: Vec<BillingPlanIr>,
}Expand description
Billing facts known at compile time. Provider secrets are deliberately not part of the IR.
Fields§
§enabled: bool§provider: Option<String>§subscriptions: bool§trials: bool§customer_portal: bool§metered_usage: bool§plans: Vec<BillingPlanIr>Trait Implementations§
Source§impl<'de> Deserialize<'de> for BillingIr
impl<'de> Deserialize<'de> for BillingIr
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
impl Eq for BillingIr
impl StructuralPartialEq for BillingIr
Auto Trait Implementations§
impl Freeze for BillingIr
impl RefUnwindSafe for BillingIr
impl Send for BillingIr
impl Sync for BillingIr
impl Unpin for BillingIr
impl UnsafeUnpin for BillingIr
impl UnwindSafe for BillingIr
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