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