[][src]Enum stripe::RangeQuery

pub enum RangeQuery<T> {
    Exact(T),
    Bounds(RangeBounds<T>),
}

A set of generic request parameters that can be used on list endpoints to filter their results by some timestamp.

Variants

Exact(T)
Bounds(RangeBounds<T>)

Implementations

impl<T> RangeQuery<T>[src]

pub fn eq(value: T) -> RangeQuery<T>[src]

Filter results to exactly match a given value

pub fn gt(value: T) -> RangeQuery<T>[src]

Filter results to be after a given value

pub fn gte(value: T) -> RangeQuery<T>[src]

Filter results to be after or equal to a given value

pub fn lt(value: T) -> RangeQuery<T>[src]

Filter results to be before to a given value

pub fn lte(value: T) -> RangeQuery<T>[src]

Filter results to be before or equal to a given value

Trait Implementations

impl<T: Clone> Clone for RangeQuery<T>[src]

impl<T: Debug> Debug for RangeQuery<T>[src]

impl<'de, T> Deserialize<'de> for RangeQuery<T> where
    T: Deserialize<'de>, 
[src]

impl<T> Serialize for RangeQuery<T> where
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for RangeQuery<T> where
    T: RefUnwindSafe

impl<T> Send for RangeQuery<T> where
    T: Send

impl<T> Sync for RangeQuery<T> where
    T: Sync

impl<T> Unpin for RangeQuery<T> where
    T: Unpin

impl<T> UnwindSafe for RangeQuery<T> where
    T: UnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

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.