pub enum Field {
}
Variants
Null
Bool(bool)
TinyInt(i8)
SmallInt(i16)
Int(i32)
BigInt(i64)
Float(f32)
Double(f64)
Binary(BString)
Timestamp(Timestamp)
NChar(String)
UTinyInt(u8)
USmallInt(u16)
UInt(u32)
UBigInt(u64)
Json(Value)
Implementations
sourceimpl Field
impl Field
pub fn as_bool(&self) -> Option<&bool>
pub fn as_tiny_int(&self) -> Option<&i8>
pub fn as_small_int(&self) -> Option<&i16>
pub fn as_int(&self) -> Option<&i32>
pub fn as_big_int(&self) -> Option<&i64>
pub fn as_float(&self) -> Option<&f32>
pub fn as_double(&self) -> Option<&f64>
pub fn as_binary(&self) -> Option<&BStr>
pub fn as_nchar(&self) -> Option<&str>
pub fn as_timestamp(&self) -> Option<&Timestamp>
pub fn as_raw_timestamp(&self) -> Option<i64>
pub fn as_unsigned_tiny_int(&self) -> Option<&u8>
pub fn as_unsigned_samll_int(&self) -> Option<&u16>
pub fn as_unsigned_int(&self) -> Option<&u32>
pub fn as_unsigned_big_int(&self) -> Option<&u64>
pub fn as_json(&self) -> Option<&Value>
pub fn data_type(&self) -> TaosDataType
Trait Implementations
impl StructuralPartialEq for Field
Auto Trait Implementations
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more