pub struct DesiredCounts {
pub running: u32,
pub warm: u32,
pub sleeping: u32,
}Expand description
Desired instance counts by status, evaluated by the reconcile loop.
Fields§
§running: u32§warm: u32§sleeping: u32Trait Implementations§
Source§impl Clone for DesiredCounts
impl Clone for DesiredCounts
Source§fn clone(&self) -> DesiredCounts
fn clone(&self) -> DesiredCounts
Returns a duplicate of the value. Read more
1.0.0 · 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 DesiredCounts
impl Debug for DesiredCounts
Source§impl Default for DesiredCounts
impl Default for DesiredCounts
Source§fn default() -> DesiredCounts
fn default() -> DesiredCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DesiredCounts
impl<'de> Deserialize<'de> for DesiredCounts
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
Auto Trait Implementations§
impl Freeze for DesiredCounts
impl RefUnwindSafe for DesiredCounts
impl Send for DesiredCounts
impl Sync for DesiredCounts
impl Unpin for DesiredCounts
impl UnsafeUnpin for DesiredCounts
impl UnwindSafe for DesiredCounts
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