Struct nomad_client_rs::models::scaling_event::ScalingEvent
source · pub struct ScalingEvent {
pub reason: Option<String>,
pub error: Option<String>,
pub meta: Option<HashMap<String, Value>>,
pub time: Option<i32>,
pub eval_id: Option<String>,
}
Fields§
§reason: Option<String>
§error: Option<String>
§meta: Option<HashMap<String, Value>>
§time: Option<i32>
§eval_id: Option<String>
Trait Implementations§
source§impl Clone for ScalingEvent
impl Clone for ScalingEvent
source§fn clone(&self) -> ScalingEvent
fn clone(&self) -> ScalingEvent
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 ScalingEvent
impl Debug for ScalingEvent
source§impl Default for ScalingEvent
impl Default for ScalingEvent
source§fn default() -> ScalingEvent
fn default() -> ScalingEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScalingEvent
impl<'de> Deserialize<'de> for ScalingEvent
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