pub struct Counted {
pub used: u64,
pub kept: Option<u64>,
pub jobs: u64,
pub brake: Option<CountBrake>,
}Expand description
The growth count (ADR 0130): what the runners use, and the room kept for what they may still grow by.
Fields§
§used: u64What the runners use, by their recent samples, in bytes.
kept: Option<u64>The room it keeps for their growth, in bytes; absent while it rests (brake).
jobs: u64How many of the largest growths the room covers at least.
brake: Option<CountBrake>Why it rests, while it does: the budgets then go by 0099’s and 0108’s credits.
Implementations§
Trait Implementations§
impl Copy for Counted
Source§impl<'de> Deserialize<'de> for Counted
impl<'de> Deserialize<'de> for Counted
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 Counted
impl StructuralPartialEq for Counted
Auto Trait Implementations§
impl Forget for Counted
impl Freeze for Counted
impl Move for Counted
impl RefUnwindSafe for Counted
impl Send for Counted
impl Sync for Counted
impl Unpin for Counted
impl UnsafeUnpin for Counted
impl UnwindSafe for Counted
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.