pub enum RestartPolicyNameEnum {
EMPTY,
NO,
ALWAYS,
UNLESS_STOPPED,
ON_FAILURE,
}
Variants§
Trait Implementations§
source§impl AsRef<str> for RestartPolicyNameEnum
impl AsRef<str> for RestartPolicyNameEnum
source§impl Clone for RestartPolicyNameEnum
impl Clone for RestartPolicyNameEnum
source§fn clone(&self) -> RestartPolicyNameEnum
fn clone(&self) -> RestartPolicyNameEnum
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 RestartPolicyNameEnum
impl Debug for RestartPolicyNameEnum
source§impl<'de> Deserialize<'de> for RestartPolicyNameEnum
impl<'de> Deserialize<'de> for RestartPolicyNameEnum
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 RestartPolicyNameEnum
impl Display for RestartPolicyNameEnum
source§impl FromStr for RestartPolicyNameEnum
impl FromStr for RestartPolicyNameEnum
source§impl Ord for RestartPolicyNameEnum
impl Ord for RestartPolicyNameEnum
source§fn cmp(&self, other: &RestartPolicyNameEnum) -> Ordering
fn cmp(&self, other: &RestartPolicyNameEnum) -> Ordering
1.21.0 · 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
source§impl PartialEq<RestartPolicyNameEnum> for RestartPolicyNameEnum
impl PartialEq<RestartPolicyNameEnum> for RestartPolicyNameEnum
source§fn eq(&self, other: &RestartPolicyNameEnum) -> bool
fn eq(&self, other: &RestartPolicyNameEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RestartPolicyNameEnum> for RestartPolicyNameEnum
impl PartialOrd<RestartPolicyNameEnum> for RestartPolicyNameEnum
source§fn partial_cmp(&self, other: &RestartPolicyNameEnum) -> Option<Ordering>
fn partial_cmp(&self, other: &RestartPolicyNameEnum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more