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