pub enum ResourceManager {
User,
Autoscaler,
}Expand description
Who sets the desired value.
JSON schema
{
"description": "Who sets the desired value.",
"type": "string",
"enum": [
"User",
"Autoscaler"
]
}Variants§
Trait Implementations§
Source§impl Clone for ResourceManager
impl Clone for ResourceManager
impl Copy for ResourceManager
Source§impl Debug for ResourceManager
impl Debug for ResourceManager
Source§impl<'de> Deserialize<'de> for ResourceManager
impl<'de> Deserialize<'de> for ResourceManager
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 Display for ResourceManager
impl Display for ResourceManager
impl Eq for ResourceManager
Source§impl From<&ResourceManager> for ResourceManager
impl From<&ResourceManager> for ResourceManager
Source§fn from(value: &ResourceManager) -> Self
fn from(value: &ResourceManager) -> Self
Converts to this type from the input type.
Source§impl FromStr for ResourceManager
impl FromStr for ResourceManager
Source§impl Hash for ResourceManager
impl Hash for ResourceManager
Source§impl Ord for ResourceManager
impl Ord for ResourceManager
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResourceManager
impl PartialEq for ResourceManager
Source§impl PartialOrd for ResourceManager
impl PartialOrd for ResourceManager
Source§impl Serialize for ResourceManager
impl Serialize for ResourceManager
impl StructuralPartialEq for ResourceManager
Source§impl TryFrom<&String> for ResourceManager
impl TryFrom<&String> for ResourceManager
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResourceManager
impl TryFrom<&str> for ResourceManager
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResourceManager
impl TryFrom<String> for ResourceManager
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ResourceManager
impl Freeze for ResourceManager
impl Move for ResourceManager
impl RefUnwindSafe for ResourceManager
impl Send for ResourceManager
impl Sync for ResourceManager
impl Unpin for ResourceManager
impl UnsafeUnpin for ResourceManager
impl UnwindSafe for ResourceManager
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more