Enum butane::SqlValRef [−][src]
pub enum SqlValRef<'a> {
Null,
Bool(bool),
Int(i32),
BigInt(i64),
Real(f64),
Text(&'a str),
Blob(&'a [u8]),
Timestamp(NaiveDateTime),
Custom(SqlValRefCustom<'a>),
}
Variants
Bool(bool)
Tuple Fields of Bool
0: bool
Int(i32)
Tuple Fields of Int
0: i32
BigInt(i64)
Tuple Fields of BigInt
0: i64
Real(f64)
Tuple Fields of Real
0: f64
Text(&'a str)
Tuple Fields of Text
0: &'a str
Timestamp(NaiveDateTime)
Tuple Fields of Timestamp
Custom(SqlValRefCustom<'a>)
Tuple Fields of Custom
0: SqlValRefCustom<'a>
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SqlValRef<'a>
impl<'a> !UnwindSafe for SqlValRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a reference to self
as a ToSql
trait object.