pub enum NodeSpecRoleInlineItem {
Worker,
Manager,
}
Expand description
Role of the node.
Variants§
Trait Implementations§
Source§impl AsRef<str> for NodeSpecRoleInlineItem
impl AsRef<str> for NodeSpecRoleInlineItem
Source§impl Clone for NodeSpecRoleInlineItem
impl Clone for NodeSpecRoleInlineItem
Source§fn clone(&self) -> NodeSpecRoleInlineItem
fn clone(&self) -> NodeSpecRoleInlineItem
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeSpecRoleInlineItem
impl Debug for NodeSpecRoleInlineItem
Source§impl<'de> Deserialize<'de> for NodeSpecRoleInlineItem
impl<'de> Deserialize<'de> for NodeSpecRoleInlineItem
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 NodeSpecRoleInlineItem
impl Display for NodeSpecRoleInlineItem
Source§impl PartialEq for NodeSpecRoleInlineItem
impl PartialEq for NodeSpecRoleInlineItem
Source§fn eq(&self, other: &NodeSpecRoleInlineItem) -> bool
fn eq(&self, other: &NodeSpecRoleInlineItem) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for NodeSpecRoleInlineItem
impl Serialize for NodeSpecRoleInlineItem
impl StructuralPartialEq for NodeSpecRoleInlineItem
Auto Trait Implementations§
impl Freeze for NodeSpecRoleInlineItem
impl RefUnwindSafe for NodeSpecRoleInlineItem
impl Send for NodeSpecRoleInlineItem
impl Sync for NodeSpecRoleInlineItem
impl Unpin for NodeSpecRoleInlineItem
impl UnwindSafe for NodeSpecRoleInlineItem
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