pub struct TaskGroupScaleStatus {
pub placed: i64,
pub running: i64,
pub healthy: i64,
pub unhealthy: i64,
pub events: Vec<ScalingEvent>,
pub desired: i64,
}
Expand description
This struct was generated based on the Go types of the official Nomad API.
Fields§
§placed: i64
§running: i64
§healthy: i64
§unhealthy: i64
§events: Vec<ScalingEvent>
§desired: i64
Trait Implementations§
Source§impl Clone for TaskGroupScaleStatus
impl Clone for TaskGroupScaleStatus
Source§fn clone(&self) -> TaskGroupScaleStatus
fn clone(&self) -> TaskGroupScaleStatus
Returns a copy 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 TaskGroupScaleStatus
impl Debug for TaskGroupScaleStatus
Source§impl Default for TaskGroupScaleStatus
impl Default for TaskGroupScaleStatus
Source§fn default() -> TaskGroupScaleStatus
fn default() -> TaskGroupScaleStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskGroupScaleStatus
impl<'de> Deserialize<'de> for TaskGroupScaleStatus
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 TaskGroupScaleStatus
impl PartialEq for TaskGroupScaleStatus
Source§impl Serialize for TaskGroupScaleStatus
impl Serialize for TaskGroupScaleStatus
impl StructuralPartialEq for TaskGroupScaleStatus
Auto Trait Implementations§
impl Freeze for TaskGroupScaleStatus
impl RefUnwindSafe for TaskGroupScaleStatus
impl Send for TaskGroupScaleStatus
impl Sync for TaskGroupScaleStatus
impl Unpin for TaskGroupScaleStatus
impl UnwindSafe for TaskGroupScaleStatus
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