Enum spin_sdk::pg::DbDataType
source · #[repr(u8)]pub enum DbDataType {
Show 14 variants
Boolean = 0,
Int8 = 1,
Int16 = 2,
Int32 = 3,
Int64 = 4,
Uint8 = 5,
Uint16 = 6,
Uint32 = 7,
Uint64 = 8,
Floating32 = 9,
Floating64 = 10,
Str = 11,
Binary = 12,
Other = 13,
}
Expand description
Data types for a database column
Variants§
Boolean = 0
Int8 = 1
Int16 = 2
Int32 = 3
Int64 = 4
Uint8 = 5
Uint16 = 6
Uint32 = 7
Uint64 = 8
Floating32 = 9
Floating64 = 10
Str = 11
Binary = 12
Other = 13
Trait Implementations§
source§impl Clone for DbDataType
impl Clone for DbDataType
source§fn clone(&self) -> DbDataType
fn clone(&self) -> DbDataType
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 DbDataType
impl Debug for DbDataType
source§impl PartialEq for DbDataType
impl PartialEq for DbDataType
source§fn eq(&self, other: &DbDataType) -> bool
fn eq(&self, other: &DbDataType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DbDataType
impl Eq for DbDataType
impl StructuralPartialEq for DbDataType
Auto Trait Implementations§
impl RefUnwindSafe for DbDataType
impl Send for DbDataType
impl Sync for DbDataType
impl Unpin for DbDataType
impl UnwindSafe for DbDataType
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