Enum butane::SqlType [−][src]
pub enum SqlType { Bool, Int, BigInt, Real, Text, Timestamp, Blob, Custom(SqlTypeCustom), }
Expand description
Enumeration of the types a database value may take.
See also SqlVal
.
Variants
4 bytes
8 bytes
8 byte float
Custom(SqlTypeCustom)
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SqlType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SqlType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SqlType
impl UnwindSafe for SqlType
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V