Struct nebula_fbthrift_meta::ConfigMode
source · pub struct ConfigMode(pub i32);
Tuple Fields§
§0: i32
Implementations§
source§impl ConfigMode
impl ConfigMode
pub const IMMUTABLE: ConfigMode = ConfigMode(0i32)
pub const REBOOT: ConfigMode = ConfigMode(1i32)
pub const MUTABLE: ConfigMode = ConfigMode(2i32)
pub const IGNORED: ConfigMode = ConfigMode(3i32)
Trait Implementations§
source§impl Clone for ConfigMode
impl Clone for ConfigMode
source§fn clone(&self) -> ConfigMode
fn clone(&self) -> ConfigMode
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 ConfigMode
impl Debug for ConfigMode
source§impl Default for ConfigMode
impl Default for ConfigMode
source§fn default() -> ConfigMode
fn default() -> ConfigMode
Returns the “default value” for a type. Read more
source§impl<P> Deserialize<P> for ConfigModewhere
P: ProtocolReader,
impl<P> Deserialize<P> for ConfigModewhere
P: ProtocolReader,
source§impl Display for ConfigMode
impl Display for ConfigMode
source§impl From<i32> for ConfigMode
impl From<i32> for ConfigMode
source§fn from(x: i32) -> ConfigMode
fn from(x: i32) -> ConfigMode
Converts to this type from the input type.
source§impl FromStr for ConfigMode
impl FromStr for ConfigMode
source§impl Hash for ConfigMode
impl Hash for ConfigMode
source§impl Ord for ConfigMode
impl Ord for ConfigMode
source§fn cmp(&self, other: &ConfigMode) -> Ordering
fn cmp(&self, other: &ConfigMode) -> 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<ConfigMode> for ConfigMode
impl PartialEq<ConfigMode> for ConfigMode
source§fn eq(&self, other: &ConfigMode) -> bool
fn eq(&self, other: &ConfigMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ConfigMode> for ConfigMode
impl PartialOrd<ConfigMode> for ConfigMode
source§fn partial_cmp(&self, other: &ConfigMode) -> Option<Ordering>
fn partial_cmp(&self, other: &ConfigMode) -> 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