pub enum FieldType {
Integer,
Float,
Text,
Boolean,
Blob,
Date,
DateTime,
Json,
}Expand description
Storage type of one attribute field.
Variants§
Integer
64-bit signed integer field.
Float
64-bit floating-point numeric field.
Text
UTF-8 text field.
Boolean
Boolean field.
Blob
Raw byte payload field.
Date
Date field encoded as YYYY-MM-DD text.
DateTime
Datetime field encoded as ISO-8601 text.
Json
JSON text field.
Implementations§
Trait Implementations§
impl Copy for FieldType
impl Eq for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
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