#[non_exhaustive]pub enum Filter<F> {
#[non_exhaustive] Eq(F, Value),
#[non_exhaustive] NotEq(F, Value),
#[non_exhaustive] And(Box<Self>, Box<Self>),
#[non_exhaustive] Or(Box<Self>, Box<Self>),
#[non_exhaustive] Supports(SupportedService),
}Variants (Non-exhaustive)§
This enum is marked as 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.
#[non_exhaustive]Eq(F, Value)
#[non_exhaustive]NotEq(F, Value)
#[non_exhaustive]And(Box<Self>, Box<Self>)
#[non_exhaustive]Or(Box<Self>, Box<Self>)
#[non_exhaustive]Supports(SupportedService)
Implementations§
Trait Implementations§
Source§impl<'de, F> Deserialize<'de> for Filter<F>where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for Filter<F>where
F: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<F> Freeze for Filter<F>where
F: Freeze,
impl<F> RefUnwindSafe for Filter<F>where
F: RefUnwindSafe,
impl<F> Send for Filter<F>where
F: Send,
impl<F> Sync for Filter<F>where
F: Sync,
impl<F> Unpin for Filter<F>where
F: Unpin,
impl<F> UnsafeUnpin for Filter<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Filter<F>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more