pub struct AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization {
pub cpu: Option<f32>,
pub memory: Option<f32>,
}Expand description
AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
JSON schema
{
"type": "object",
"properties": {
"cpu": {
"description": "The average CPU utilization of the autoscale pool.",
"examples": [
0.0007338008770232183
],
"type": "number",
"format": "float",
"maximum": 1.0,
"minimum": 0.0
},
"memory": {
"description": "The average memory utilization of the autoscale pool.",
"examples": [
0.3588531587713522
],
"type": "number",
"format": "float",
"maximum": 1.0,
"minimum": 0.0
}
}
}Fields§
§cpu: Option<f32>§memory: Option<f32>Trait Implementations§
Source§impl Clone for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl Clone for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
Source§fn clone(&self) -> AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
fn clone(&self) -> AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
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<'de> Deserialize<'de> for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl<'de> Deserialize<'de> for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
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 From<&AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization> for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl From<&AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization> for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
Source§fn from(
value: &AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization,
) -> Self
fn from( value: &AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl RefUnwindSafe for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl Send for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl Sync for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl Unpin for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl UnsafeUnpin for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
impl UnwindSafe for AutoscalepoolsGetResponseAutoscalePoolCurrentUtilization
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