pub enum VerticalMode {
Off,
Recommend,
Auto,
}Expand description
Vertical autoscaling operating mode.
Variants§
Off
Disabled.
Recommend
Compute and report recommendations but never apply them.
Auto
Compute and automatically apply recommendations.
Trait Implementations§
Source§impl Clone for VerticalMode
impl Clone for VerticalMode
Source§fn clone(&self) -> VerticalMode
fn clone(&self) -> VerticalMode
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 moreimpl Copy for VerticalMode
Source§impl Debug for VerticalMode
impl Debug for VerticalMode
Source§impl Default for VerticalMode
impl Default for VerticalMode
Source§fn default() -> VerticalMode
fn default() -> VerticalMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerticalMode
impl<'de> Deserialize<'de> for VerticalMode
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
impl Eq for VerticalMode
Source§impl PartialEq for VerticalMode
impl PartialEq for VerticalMode
Source§fn eq(&self, other: &VerticalMode) -> bool
fn eq(&self, other: &VerticalMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VerticalMode
impl Serialize for VerticalMode
impl StructuralPartialEq for VerticalMode
Auto Trait Implementations§
impl Freeze for VerticalMode
impl RefUnwindSafe for VerticalMode
impl Send for VerticalMode
impl Sync for VerticalMode
impl Unpin for VerticalMode
impl UnsafeUnpin for VerticalMode
impl UnwindSafe for VerticalMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.