Struct nebula_fbthrift_common::SupportedType
source · pub struct SupportedType(pub i32);
Tuple Fields§
§0: i32
Implementations§
source§impl SupportedType
impl SupportedType
pub const UNKNOWN: SupportedType = SupportedType(0i32)
pub const BOOL: SupportedType = SupportedType(1i32)
pub const INT: SupportedType = SupportedType(2i32)
pub const VID: SupportedType = SupportedType(3i32)
pub const FLOAT: SupportedType = SupportedType(4i32)
pub const DOUBLE: SupportedType = SupportedType(5i32)
pub const STRING: SupportedType = SupportedType(6i32)
pub const TIMESTAMP: SupportedType = SupportedType(21i32)
pub const YEAR: SupportedType = SupportedType(22i32)
pub const YEARMONTH: SupportedType = SupportedType(23i32)
pub const DATE: SupportedType = SupportedType(24i32)
pub const DATETIME: SupportedType = SupportedType(25i32)
pub const PATH: SupportedType = SupportedType(41i32)
Trait Implementations§
source§impl Clone for SupportedType
impl Clone for SupportedType
source§fn clone(&self) -> SupportedType
fn clone(&self) -> SupportedType
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 SupportedType
impl Debug for SupportedType
source§impl Default for SupportedType
impl Default for SupportedType
source§fn default() -> SupportedType
fn default() -> SupportedType
Returns the “default value” for a type. Read more
source§impl<P> Deserialize<P> for SupportedTypewhere
P: ProtocolReader,
impl<P> Deserialize<P> for SupportedTypewhere
P: ProtocolReader,
source§impl Display for SupportedType
impl Display for SupportedType
source§impl From<i32> for SupportedType
impl From<i32> for SupportedType
source§fn from(x: i32) -> SupportedType
fn from(x: i32) -> SupportedType
Converts to this type from the input type.
source§impl FromStr for SupportedType
impl FromStr for SupportedType
source§impl Hash for SupportedType
impl Hash for SupportedType
source§impl Ord for SupportedType
impl Ord for SupportedType
source§fn cmp(&self, other: &SupportedType) -> Ordering
fn cmp(&self, other: &SupportedType) -> 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<SupportedType> for SupportedType
impl PartialEq<SupportedType> for SupportedType
source§fn eq(&self, other: &SupportedType) -> bool
fn eq(&self, other: &SupportedType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SupportedType> for SupportedType
impl PartialOrd<SupportedType> for SupportedType
source§fn partial_cmp(&self, other: &SupportedType) -> Option<Ordering>
fn partial_cmp(&self, other: &SupportedType) -> 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