[−][src]Enum postgres_types::Date
A wrapper that can be used to represent infinity with Type::Date
types.
Variants
Represents infinity
, a date that is later than all other dates.
Represents -infinity
, a date that is earlier than all other dates.
The wrapped date.
Trait Implementations
impl<'a, T: FromSql<'a>> FromSql<'a> for Date<T>
[src][+]
impl<T: ToSql> ToSql for Date<T>
[src][+]
impl<T: Clone> Clone for Date<T>
[src][+]
impl<T: Copy> Copy for Date<T>
[src]
impl<T: PartialEq> PartialEq<Date<T>> for Date<T>
[src][+]
impl<T: Debug> Debug for Date<T>
[src][+]
Auto Trait Implementations
impl<T> Send for Date<T> where
T: Send,
T: Send,
impl<T> Sync for Date<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Date<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Date<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for Date<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> FromSqlOwned for T where
T: FromSql<'a>,
[src]
T: FromSql<'a>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self