#[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§impl PartialOrd for PrimitiveTypeId
impl PartialOrd for PrimitiveTypeId
Source§impl Serialize for PrimitiveTypeId
impl Serialize for PrimitiveTypeId
impl Copy for PrimitiveTypeId
impl Eq for PrimitiveTypeId
impl StructuralPartialEq for PrimitiveTypeId
Auto Trait Implementations§
impl Freeze for PrimitiveTypeId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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