Enum ergol_core::Ty
source · pub enum Ty {
}
Expand description
The type of a column.
Variants§
Id
An ID column.
I32
An i32 column.
Bool
A boolean column.
String
A string column.
Json
A JSON value.
BitVec
A bit vec.
NaiveDateTime
A chrono naive date time.
DateTimeUtc
A chrono date time (utc).
DateTimeLocal
A chrono date time (local).
DateTimeFixedOffset
A chrono date time (fixed offset).
NaiveDate
A chrono naive date.
NaiveTime
A chrono naive time.
MacAddress
A eui48 mac address.
Point
A geo-types point.
Rect
A geo-types rect.
LineString
A geo-types line string.
Uuid
A uuid.
PrimitiveDateTime
A time primitive date time.
OffsetDateTime
A time offset date time.
Date
A time date.
Time
A time time.
Option(Box<Ty>)
An optional type.
Enum(String)
An enum type.
Reference(String)
A reference to another type.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ty
impl<'de> Deserialize<'de> for Ty
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Ty
impl StructuralEq for Ty
impl StructuralPartialEq for Ty
Auto Trait Implementations§
impl RefUnwindSafe for Ty
impl Send for Ty
impl Sync for Ty
impl Unpin for Ty
impl UnwindSafe for Ty
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