pub enum Value {
Show 26 variants
Boolean(bool),
Int8(i8),
Int16(i16),
Int32(i32),
Int64(i64),
Uint8(u8),
Uint16(u16),
Uint32(u32),
Uint64(u64),
Float32(f32),
Float64(f64),
Binary(Vec<u8>),
String(String),
Date(i32),
Datetime(i64),
TimestampSecond(i64),
TimestampMillisecond(i64),
TimestampMicrosecond(i64),
TimestampNanosecond(i64),
TimeSecond(i32),
TimeMillisecond(i32),
TimeMicrosecond(i64),
TimeNanosecond(i64),
Decimal128(i128),
Json(String),
Null,
}Expand description
Type-safe value wrapper for all GreptimeDB data types
Variants§
Boolean(bool)
Int8(i8)
Int16(i16)
Int32(i32)
Int64(i64)
Uint8(u8)
Uint16(u16)
Uint32(u32)
Uint64(u64)
Float32(f32)
Float64(f64)
Binary(Vec<u8>)
String(String)
Date(i32)
Datetime(i64)
TimestampSecond(i64)
TimestampMillisecond(i64)
TimestampMicrosecond(i64)
TimestampNanosecond(i64)
TimeSecond(i32)
TimeMillisecond(i32)
TimeMicrosecond(i64)
TimeNanosecond(i64)
Decimal128(i128)
Json(String)
Null
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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<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