pub enum NullType {
Show 24 variants
String,
Choice,
I64,
I32,
I16,
Bool,
F64,
F32,
Binary,
ChronoNaiveTime,
ChronoNaiveDate,
ChronoNaiveDateTime,
ChronoDateTime,
TimeDate,
TimeTime,
TimeOffsetDateTime,
TimePrimitiveDateTime,
Uuid,
UuidHyphenated,
UuidSimple,
JsonValue,
MacAddress,
IpNetwork,
BitVec,
}
Expand description
This enum represents a Null’s type
Variants§
String
String representation
Choice
Choice representation
I64
i64 representation
I32
i32 representation
I16
i16 representation
Bool
Bool representation
F64
f64 representation
F32
f32 representation
Binary
binary representation
ChronoNaiveTime
Naive Time representation
ChronoNaiveDate
Naive Date representation
ChronoNaiveDateTime
Naive DateTime representation
ChronoDateTime
Chrono timezone aware date time representation
TimeDate
time’s date representation
TimeTime
time’s time representation
TimeOffsetDateTime
time’s offset datetime representation
TimePrimitiveDateTime
time’s primitive datetime representation
Uuid
Uuid representation
UuidHyphenated
Uuid in hyphenated representation
UuidSimple
Uuid in simple text representation
JsonValue
serde_json’s Value representation
MacAddress
Available on crate feature
postgres-only
only.Mac address representation
IpNetwork
Available on crate feature
postgres-only
only.IP network presentation
BitVec
Available on crate feature
postgres-only
only.Bit vec representation
Trait Implementations§
impl Copy for NullType
impl Eq for NullType
impl StructuralPartialEq for NullType
Auto Trait Implementations§
impl Freeze for NullType
impl RefUnwindSafe for NullType
impl Send for NullType
impl Sync for NullType
impl Unpin for NullType
impl UnwindSafe for NullType
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