[][src]Enum parse_mediawiki_sql::types::Expiry

pub enum Expiry {
    Timestamp(Timestamp),
    Infinity,
}

Represents the pr_expiry field of the page_restrictions table.

Variants

Timestamp(Timestamp)
Infinity

Trait Implementations

impl Clone for Expiry[src]

impl Copy for Expiry[src]

impl Debug for Expiry[src]

impl Eq for Expiry[src]

impl<'input> FromSql<'input> for Expiry[src]

impl Hash for Expiry[src]

impl Ord for Expiry[src]

impl PartialEq<Expiry> for Expiry[src]

impl PartialOrd<Expiry> for Expiry[src]

impl StructuralEq for Expiry[src]

impl StructuralPartialEq for Expiry[src]

Auto Trait Implementations

impl RefUnwindSafe for Expiry

impl Send for Expiry

impl Sync for Expiry

impl Unpin for Expiry

impl UnwindSafe for Expiry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.