pub enum JsDataType {
Boolean = 0,
Int32 = 1,
Int64 = 2,
Float64 = 3,
String = 4,
DateTime = 5,
Bytes = 6,
Jsonb = 7,
}Expand description
Data types supported by Cynos.
Variants§
Trait Implementations§
Source§impl Clone for JsDataType
impl Clone for JsDataType
Source§fn clone(&self) -> JsDataType
fn clone(&self) -> JsDataType
Returns a duplicate 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 JsDataType
impl Debug for JsDataType
Source§impl From<DataType> for JsDataType
impl From<DataType> for JsDataType
Source§impl From<JsDataType> for DataType
impl From<JsDataType> for DataType
Source§fn from(dt: JsDataType) -> Self
fn from(dt: JsDataType) -> Self
Converts to this type from the input type.
Source§impl From<JsDataType> for JsValue
impl From<JsDataType> for JsValue
Source§fn from(value: JsDataType) -> Self
fn from(value: JsDataType) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for JsDataType
impl FromWasmAbi for JsDataType
Source§impl IntoWasmAbi for JsDataType
impl IntoWasmAbi for JsDataType
Source§impl OptionFromWasmAbi for JsDataType
impl OptionFromWasmAbi for JsDataType
Source§impl OptionIntoWasmAbi for JsDataType
impl OptionIntoWasmAbi for JsDataType
Source§impl PartialEq for JsDataType
impl PartialEq for JsDataType
Source§impl TryFromJsValue for JsDataType
impl TryFromJsValue for JsDataType
Source§impl VectorFromWasmAbi for JsDataType
impl VectorFromWasmAbi for JsDataType
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JsDataType]>
Source§impl VectorIntoWasmAbi for JsDataType
impl VectorIntoWasmAbi for JsDataType
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JsDataType]>) -> Self::Abi
Source§impl WasmDescribeVector for JsDataType
impl WasmDescribeVector for JsDataType
impl Copy for JsDataType
impl Eq for JsDataType
impl StructuralPartialEq for JsDataType
Auto Trait Implementations§
impl Freeze for JsDataType
impl RefUnwindSafe for JsDataType
impl Send for JsDataType
impl Sync for JsDataType
impl Unpin for JsDataType
impl UnwindSafe for JsDataType
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> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.