Enum iotdb_client::protocal::TSDataType
source · pub enum TSDataType {
Boolean = 0,
Int32 = 1,
Int64 = 2,
Float = 3,
Double = 4,
Text = 5,
}
Variants§
Trait Implementations§
source§impl Clone for TSDataType
impl Clone for TSDataType
source§fn clone(&self) -> TSDataType
fn clone(&self) -> TSDataType
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 TSDataType
impl Debug for TSDataType
source§impl From<&String> for TSDataType
impl From<&String> for TSDataType
source§impl From<TSDataType> for i32
impl From<TSDataType> for i32
source§fn from(t: TSDataType) -> i32
fn from(t: TSDataType) -> i32
Converts to this type from the input type.
source§impl Hash for TSDataType
impl Hash for TSDataType
source§impl Ord for TSDataType
impl Ord for TSDataType
source§fn cmp(&self, other: &TSDataType) -> Ordering
fn cmp(&self, other: &TSDataType) -> 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 TSDataType
impl PartialEq for TSDataType
source§fn eq(&self, other: &TSDataType) -> bool
fn eq(&self, other: &TSDataType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TSDataType
impl PartialOrd for TSDataType
source§fn partial_cmp(&self, other: &TSDataType) -> Option<Ordering>
fn partial_cmp(&self, other: &TSDataType) -> 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 moreimpl Eq for TSDataType
impl StructuralPartialEq for TSDataType
Auto Trait Implementations§
impl Freeze for TSDataType
impl RefUnwindSafe for TSDataType
impl Send for TSDataType
impl Sync for TSDataType
impl Unpin for TSDataType
impl UnwindSafe for TSDataType
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