[][src]Enum octocrab::params::issues::Filter

#[non_exhaustive]pub enum Filter<T> {
    Matches(T),
    Any,
    None,
}

A generic filter type that allows you to filter either by exact match, any match, or no matches.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Matches(T)
Any
None

Trait Implementations

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

impl<T: Copy> Copy for Filter<T>[src]

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

impl<T: Serialize> From<T> for Filter<T>[src]

impl<T: Serialize> Serialize for Filter<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Filter<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Filter<T> where
    T: Send
[src]

impl<T> Sync for Filter<T> where
    T: Sync
[src]

impl<T> Unpin for Filter<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Filter<T> where
    T: UnwindSafe
[src]

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> Instrument for T[src]

impl<T> Instrument 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.