pub struct Limits {
pub max_units: Option<u64>,
pub max_spend_micros: Option<u64>,
}Expand description
Tenant limits. None means unbounded.
Fields§
§max_units: Option<u64>Maximum metered units in the control plane’s current window.
max_spend_micros: Option<u64>Maximum spend in millionths of the configured currency unit.
Trait Implementations§
impl Copy for Limits
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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