Struct rbatis::types::TimestampZ [−][src]
pub struct TimestampZ {
pub inner: OffsetDateTime,
}
Expand description
Rbatis Timestamp Rust type Postgres type(s) time::OffsetDateTime TIMESTAMPTZ
Fields
inner: OffsetDateTime
Implementations
Trait Implementations
Mutably dereferences the value.
pub fn deserialize<D>(
deserializer: D
) -> Result<TimestampZ, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<TimestampZ, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TimestampZ
impl Send for TimestampZ
impl Sync for TimestampZ
impl Unpin for TimestampZ
impl UnwindSafe for TimestampZ
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.