pub struct Param(/* private fields */);
Expand description
A filter to provide to the search to reduce the cards returned.
A Param
can be an exact card name, a Criterion
, or a
comparison of parameter values.
Usually Param
does not need to be used directly, but instead is wrapped
in a Query
so it can be combined with other Param
s.
For more information on available parameters, refer to the official docs.
Trait Implementations§
source§impl PartialEq for Param
impl PartialEq for Param
source§impl Search for Param
impl Search for Param
source§fn write_query(&self, url: &mut Url) -> Result<()>
fn write_query(&self, url: &mut Url) -> Result<()>
Write this search as the query for the given
Url
.source§fn search<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<ListIter<Card>>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn search<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<ListIter<Card>>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Convenience method for passing this object to
Card::search
.impl Eq for Param
impl StructuralPartialEq for Param
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnwindSafe for Param
Blanket Implementations§
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.