#[non_exhaustive]pub struct OverageSpendLimit {
pub is_enabled: Option<bool>,
pub monthly_credit_limit: Option<f64>,
pub currency: Option<String>,
pub used_credits: Option<f64>,
pub disabled_until: Option<String>,
pub disabled_reason: Option<String>,
pub extra: Extra,
}Expand description
GET /api/oauth/organizations/{org}/overage_spend_limit: the extra
usage (overage) monthly limit.
Amounts are in minor units.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.is_enabled: Option<bool>Whether overage is turned on.
monthly_credit_limit: Option<f64>The monthly limit, minor units.
currency: Option<String>ISO 4217 code.
used_credits: Option<f64>Spent this month, minor units.
disabled_until: Option<String>Until when overage is off, RFC 3339, if it was turned off.
disabled_reason: Option<String>Why it is off, if it is.
extra: ExtraAnything else.
Trait Implementations§
Source§impl Clone for OverageSpendLimit
impl Clone for OverageSpendLimit
Source§impl Debug for OverageSpendLimit
impl Debug for OverageSpendLimit
Source§impl Default for OverageSpendLimit
impl Default for OverageSpendLimit
Source§impl<'de> Deserialize<'de> for OverageSpendLimit
impl<'de> Deserialize<'de> for OverageSpendLimit
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 OverageSpendLimit
impl PartialEq for OverageSpendLimit
impl StructuralPartialEq for OverageSpendLimit
Auto Trait Implementations§
impl Forget for OverageSpendLimit
impl Freeze for OverageSpendLimit
impl RefUnwindSafe for OverageSpendLimit
impl Send for OverageSpendLimit
impl Sync for OverageSpendLimit
impl Unpin for OverageSpendLimit
impl UnsafeUnpin for OverageSpendLimit
impl UnwindSafe for OverageSpendLimit
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