pub struct NamespaceCharge {
pub limits: QuotaLimits,
pub window: u64,
pub bytes: u64,
pub rollup: bool,
}Expand description
One default-admission namespace charge, prepared for the write planner.
Fields§
§limits: QuotaLimitsThe fixed window and caps.
window: u64Window selected by the request’s one read-ahead.
bytes: u64Bytes from the admission charge.
rollup: boolRef shards roll up; coordinator and Single partitions are exact.
Trait Implementations§
Source§impl Clone for NamespaceCharge
impl Clone for NamespaceCharge
impl Copy for NamespaceCharge
Source§impl Debug for NamespaceCharge
impl Debug for NamespaceCharge
impl Eq for NamespaceCharge
Source§impl PartialEq for NamespaceCharge
impl PartialEq for NamespaceCharge
impl StructuralPartialEq for NamespaceCharge
Auto Trait Implementations§
impl Freeze for NamespaceCharge
impl RefUnwindSafe for NamespaceCharge
impl Send for NamespaceCharge
impl Sync for NamespaceCharge
impl Unpin for NamespaceCharge
impl UnsafeUnpin for NamespaceCharge
impl UnwindSafe for NamespaceCharge
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