Enum butane_core::SqlType
source · pub enum SqlType {
Bool,
Int,
BigInt,
Real,
Text,
Blob,
Custom(SqlTypeCustom),
}
Expand description
Enumeration of the types a database value may take.
See also SqlVal
.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SqlType
impl<'de> Deserialize<'de> for SqlType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<SqlType> for TypeIdentifier
impl From<SqlType> for TypeIdentifier
source§impl PartialEq<SqlType> for SqlType
impl PartialEq<SqlType> for SqlType
impl Eq for SqlType
impl StructuralEq for SqlType
impl StructuralPartialEq for SqlType
Auto Trait Implementations§
impl RefUnwindSafe for SqlType
impl Send for SqlType
impl Sync for SqlType
impl Unpin for SqlType
impl UnwindSafe for SqlType
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