#[repr(i32)]pub enum PrimitiveTypeId {
Show 26 variants
Unspecified = 0,
Bool = 6,
Int8 = 7,
Uint8 = 5,
Int16 = 8,
Uint16 = 9,
Int32 = 1,
Uint32 = 2,
Int64 = 3,
Uint64 = 4,
Float = 33,
Double = 32,
Date = 48,
Datetime = 49,
Timestamp = 50,
Interval = 51,
TzDate = 52,
TzDatetime = 53,
TzTimestamp = 54,
String = 4_097,
Utf8 = 4_608,
Yson = 4_609,
Json = 4_610,
Uuid = 4_611,
JsonDocument = 4_612,
Dynumber = 4_866,
}Variants§
Unspecified = 0
Bool = 6
Int8 = 7
Uint8 = 5
Int16 = 8
Uint16 = 9
Int32 = 1
Uint32 = 2
Int64 = 3
Uint64 = 4
Float = 33
Double = 32
Date = 48
Datetime = 49
Timestamp = 50
Interval = 51
TzDate = 52
TzDatetime = 53
TzTimestamp = 54
String = 4_097
Utf8 = 4_608
Yson = 4_609
Json = 4_610
Uuid = 4_611
JsonDocument = 4_612
Dynumber = 4_866
Implementations§
source§impl PrimitiveTypeId
impl PrimitiveTypeId
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition. The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations§
source§impl Clone for PrimitiveTypeId
impl Clone for PrimitiveTypeId
source§fn clone(&self) -> PrimitiveTypeId
fn clone(&self) -> PrimitiveTypeId
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 PrimitiveTypeId
impl Debug for PrimitiveTypeId
source§impl Default for PrimitiveTypeId
impl Default for PrimitiveTypeId
source§fn default() -> PrimitiveTypeId
fn default() -> PrimitiveTypeId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PrimitiveTypeId
impl<'de> Deserialize<'de> for PrimitiveTypeId
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 From<PrimitiveTypeId> for i32
impl From<PrimitiveTypeId> for i32
source§fn from(value: PrimitiveTypeId) -> i32
fn from(value: PrimitiveTypeId) -> i32
Converts to this type from the input type.
source§impl Hash for PrimitiveTypeId
impl Hash for PrimitiveTypeId
source§impl Ord for PrimitiveTypeId
impl Ord for PrimitiveTypeId
source§fn cmp(&self, other: &PrimitiveTypeId) -> Ordering
fn cmp(&self, other: &PrimitiveTypeId) -> 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 for PrimitiveTypeId
impl PartialEq for PrimitiveTypeId
source§fn eq(&self, other: &PrimitiveTypeId) -> bool
fn eq(&self, other: &PrimitiveTypeId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PrimitiveTypeId
impl PartialOrd for PrimitiveTypeId
source§fn partial_cmp(&self, other: &PrimitiveTypeId) -> Option<Ordering>
fn partial_cmp(&self, other: &PrimitiveTypeId) -> 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 moresource§impl Serialize for PrimitiveTypeId
impl Serialize for PrimitiveTypeId
impl Copy for PrimitiveTypeId
impl Eq for PrimitiveTypeId
impl StructuralEq for PrimitiveTypeId
impl StructuralPartialEq for PrimitiveTypeId
Auto Trait Implementations§
impl RefUnwindSafe for PrimitiveTypeId
impl Send for PrimitiveTypeId
impl Sync for PrimitiveTypeId
impl Unpin for PrimitiveTypeId
impl UnwindSafe for PrimitiveTypeId
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request