pub struct CapacityRow {
pub bucket: String,
pub idle: u64,
pub busy: u64,
pub reserved: u64,
pub available: u64,
pub summed_capacity: Option<u64>,
}Expand description
One row of the capacity-ranked materialized view.
Fields§
§bucket: StringBucket key (the stem / value / state-name / region / etc.).
idle: u64Entries in Idle that pass the matcher + RTT filters.
busy: u64Entries in Busy that pass.
reserved: u64Entries in Reserved that pass.
available: u64Total reachable across non-faulty states (idle + busy + reserved). Faulty entries are excluded from the upstream walk and never contribute.
summed_capacity: Option<u64>Sum of the sum_axis_key numeric tag across the bucket’s
matching entries. None when no sum_axis_key was
requested.
Trait Implementations§
Source§impl Clone for CapacityRow
impl Clone for CapacityRow
Source§fn clone(&self) -> CapacityRow
fn clone(&self) -> CapacityRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CapacityRow
impl Debug for CapacityRow
Source§impl<'de> Deserialize<'de> for CapacityRow
impl<'de> Deserialize<'de> for CapacityRow
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CapacityRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CapacityRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CapacityRow
Source§impl PartialEq for CapacityRow
impl PartialEq for CapacityRow
Source§fn eq(&self, other: &CapacityRow) -> bool
fn eq(&self, other: &CapacityRow) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CapacityRow
impl Serialize for CapacityRow
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CapacityRow
Auto Trait Implementations§
impl Freeze for CapacityRow
impl RefUnwindSafe for CapacityRow
impl Send for CapacityRow
impl Sync for CapacityRow
impl Unpin for CapacityRow
impl UnsafeUnpin for CapacityRow
impl UnwindSafe for CapacityRow
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.