Enum rustorm::dao::Value
[−]
[src]
pub enum Value { Bool(bool), I8(i8), I16(i16), I32(i32), I64(i64), U8(u8), U16(u16), U32(u32), U64(u64), F32(f32), F64(f64), String(String), VecU8(Vec<u8>), Object(BTreeMap<String, Value>), Json(Json), Uuid(Uuid), DateTime(DateTime<UTC>), NaiveDate(NaiveDate), NaiveTime(NaiveTime), NaiveDateTime(NaiveDateTime), Null, }
supported generic datatypes for an ORM
Variants
Bool | |
I8 | |
I16 | |
I32 | |
I64 | |
U8 | |
U16 | |
U32 | |
U64 | |
F32 | |
F64 | |
String | |
VecU8 | |
Object | |
Json | |
Uuid | |
DateTime | |
NaiveDate | |
NaiveTime | |
NaiveDateTime | |
Null |
Trait Implementations
impl Encodable for Value
custom implementation for value encoding to json, does not include unnecessary enum variants fields.