Enum scryfall::card_searcher::TimeParam[][src]

pub enum TimeParam {
    Year(ComparisonExprusize),
    Date(ComparisonExprNaiveDate),
    Set(ComparisonExprSetCode),
}

A parameter that takes a time string as it's value.

Variants

Find cards that were released relative to a certain year.

Find cards that were released relative to a certain date.

Find cards that were released relative to a certain set.

Trait Implementations

impl Clone for TimeParam[src]

impl Copy for TimeParam[src]

impl Debug for TimeParam[src]

impl<'de> Deserialize<'de> for TimeParam[src]

impl Eq for TimeParam[src]

impl Hash for TimeParam[src]

impl Ord for TimeParam[src]

impl Param for TimeParam[src]

impl PartialEq<TimeParam> for TimeParam[src]

impl PartialOrd<TimeParam> for TimeParam[src]

impl Serialize for TimeParam[src]

impl StructuralEq for TimeParam[src]

impl StructuralPartialEq for TimeParam[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.