Enum rorm::representations::FFIValue
source · #[repr(C)]
pub enum FFIValue<'a> {
Show 15 variants
Null(FFINullType),
Ident(FFIString<'a>),
Column {
table_name: FFIOption<FFIString<'a>>,
column_name: FFIString<'a>,
},
String(FFIString<'a>),
I64(i64),
I32(i32),
I16(i16),
Bool(bool),
F64(f64),
F32(f32),
Binary(FFISlice<'a, u8>),
NaiveTime(FFITime),
NaiveDate(FFIDate),
NaiveDateTime(FFIDateTime),
Choice(FFIString<'a>),
}
Expand description
This enum represents a value
Variants§
Null(FFINullType)
null representation
Ident(FFIString<'a>)
Representation of an identifier. This variant will not be escaped, so do not pass unchecked data to it.
Column
Fields
Representation of a column.
String(FFIString<'a>)
String representation
I64(i64)
i64 representation
I32(i32)
i32 representation
I16(i16)
i16 representation
Bool(bool)
Bool representation
F64(f64)
f64 representation
F32(f32)
f32 representation
Binary(FFISlice<'a, u8>)
Binary representation
NaiveTime(FFITime)
Representation of time without timezones
NaiveDate(FFIDate)
Representation of dates without timezones
NaiveDateTime(FFIDateTime)
Representation of datetimes without timezones
Choice(FFIString<'a>)
Representation of enum