pub struct ClusterUsageSnapshot {Show 13 fields
pub source: String,
pub condition: String,
pub status: Option<RuntimeCapabilityStatus>,
pub dirty_pending_buckets: u64,
pub last_dirty_mark_unix_secs: u64,
pub last_dirty_clear_unix_secs: u64,
pub last_cycle_dirty_buckets: u64,
pub last_cycle_cleared_dirty_buckets: u64,
pub last_usage_save_unix_secs: u64,
pub last_usage_save_result: String,
pub last_success_unix_secs: Option<u64>,
pub last_error: Option<String>,
pub extra: BTreeMap<String, Value>,
}Fields§
§source: String§condition: String§status: Option<RuntimeCapabilityStatus>§dirty_pending_buckets: u64§last_dirty_mark_unix_secs: u64§last_dirty_clear_unix_secs: u64§last_cycle_dirty_buckets: u64§last_cycle_cleared_dirty_buckets: u64§last_usage_save_unix_secs: u64§last_usage_save_result: String§last_success_unix_secs: Option<u64>§last_error: Option<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ClusterUsageSnapshot
impl Clone for ClusterUsageSnapshot
Source§fn clone(&self) -> ClusterUsageSnapshot
fn clone(&self) -> ClusterUsageSnapshot
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 ClusterUsageSnapshot
impl Debug for ClusterUsageSnapshot
Source§impl Default for ClusterUsageSnapshot
impl Default for ClusterUsageSnapshot
Source§fn default() -> ClusterUsageSnapshot
fn default() -> ClusterUsageSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterUsageSnapshot
impl<'de> Deserialize<'de> for ClusterUsageSnapshot
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 ClusterUsageSnapshot
impl PartialEq for ClusterUsageSnapshot
Source§impl Serialize for ClusterUsageSnapshot
impl Serialize for ClusterUsageSnapshot
impl StructuralPartialEq for ClusterUsageSnapshot
Auto Trait Implementations§
impl Freeze for ClusterUsageSnapshot
impl RefUnwindSafe for ClusterUsageSnapshot
impl Send for ClusterUsageSnapshot
impl Sync for ClusterUsageSnapshot
impl Unpin for ClusterUsageSnapshot
impl UnsafeUnpin for ClusterUsageSnapshot
impl UnwindSafe for ClusterUsageSnapshot
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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