Enum bollard_stubs::models::NodeSpecRoleEnum
source · pub enum NodeSpecRoleEnum {
EMPTY,
WORKER,
MANAGER,
}
Variants§
Trait Implementations§
source§impl AsRef<str> for NodeSpecRoleEnum
impl AsRef<str> for NodeSpecRoleEnum
source§impl Clone for NodeSpecRoleEnum
impl Clone for NodeSpecRoleEnum
source§fn clone(&self) -> NodeSpecRoleEnum
fn clone(&self) -> NodeSpecRoleEnum
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 NodeSpecRoleEnum
impl Debug for NodeSpecRoleEnum
source§impl<'de> Deserialize<'de> for NodeSpecRoleEnum
impl<'de> Deserialize<'de> for NodeSpecRoleEnum
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 NodeSpecRoleEnum
impl Display for NodeSpecRoleEnum
source§impl FromStr for NodeSpecRoleEnum
impl FromStr for NodeSpecRoleEnum
source§impl Ord for NodeSpecRoleEnum
impl Ord for NodeSpecRoleEnum
source§fn cmp(&self, other: &NodeSpecRoleEnum) -> Ordering
fn cmp(&self, other: &NodeSpecRoleEnum) -> 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<NodeSpecRoleEnum> for NodeSpecRoleEnum
impl PartialEq<NodeSpecRoleEnum> for NodeSpecRoleEnum
source§fn eq(&self, other: &NodeSpecRoleEnum) -> bool
fn eq(&self, other: &NodeSpecRoleEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NodeSpecRoleEnum> for NodeSpecRoleEnum
impl PartialOrd<NodeSpecRoleEnum> for NodeSpecRoleEnum
source§fn partial_cmp(&self, other: &NodeSpecRoleEnum) -> Option<Ordering>
fn partial_cmp(&self, other: &NodeSpecRoleEnum) -> 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