pub struct PrivateServiceDetailsPostAutoscalingCriteriaMemory {
pub enabled: bool,
pub percentage: Option<i64>,
}Expand description
PrivateServiceDetailsPostAutoscalingCriteriaMemory
JSON schema
{
"type": "object",
"properties": {
"enabled": {
"default": false,
"type": "boolean"
},
"percentage": {
"description": "Determines when your service will be scaled. If the
average resource utilization is significantly above/below the target, we
will increase/decrease the number of instances.\n",
"type": "integer"
}
}
}Fields§
§enabled: bool§percentage: Option<i64>Determines when your service will be scaled. If the average resource utilization is significantly above/below the target, we will increase/decrease the number of instances.
Trait Implementations§
Source§impl Clone for PrivateServiceDetailsPostAutoscalingCriteriaMemory
impl Clone for PrivateServiceDetailsPostAutoscalingCriteriaMemory
Source§fn clone(&self) -> PrivateServiceDetailsPostAutoscalingCriteriaMemory
fn clone(&self) -> PrivateServiceDetailsPostAutoscalingCriteriaMemory
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 PrivateServiceDetailsPostAutoscalingCriteriaMemory
impl<'de> Deserialize<'de> for PrivateServiceDetailsPostAutoscalingCriteriaMemory
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 PrivateServiceDetailsPostAutoscalingCriteriaMemory
impl RefUnwindSafe for PrivateServiceDetailsPostAutoscalingCriteriaMemory
impl Send for PrivateServiceDetailsPostAutoscalingCriteriaMemory
impl Sync for PrivateServiceDetailsPostAutoscalingCriteriaMemory
impl Unpin for PrivateServiceDetailsPostAutoscalingCriteriaMemory
impl UnsafeUnpin for PrivateServiceDetailsPostAutoscalingCriteriaMemory
impl UnwindSafe for PrivateServiceDetailsPostAutoscalingCriteriaMemory
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