pub struct CardFilterBuilder { /* private fields */ }
Expand description
Builder for filtered card requests
Implementations§
Source§impl CardFilterBuilder
impl CardFilterBuilder
Sourcepub fn build(self) -> CardFilter
pub fn build(self) -> CardFilter
Creates a CardFilter with the specified filter parameters
let builder = CardFilter::builder();
let filter = builder
.color(CardColor::Red)
.converted_mana_cost(2)
.cardtype(CardType::Instant)
.build();
assert!(filter == CardFilter("colors=Red&cmc=2&types=Instant".to_string()))
Sourcepub fn custom<'a, T>(self, key: T, value: T) -> CardFilterBuilder
pub fn custom<'a, T>(self, key: T, value: T) -> CardFilterBuilder
Create a custom filter
let builder = CardFilter::builder();
let filter = builder.custom("name", "Shock|Mountain")
.build();
assert!(filter == CardFilter("name=Shock|Mountain".to_string()))
Sourcepub fn name<'a, T>(self, name: T) -> CardFilterBuilder
pub fn name<'a, T>(self, name: T) -> CardFilterBuilder
Every card that (partially) matches the specified name will match the filter
let builder = CardFilter::builder();
let filter = builder.name("Shock")
.build();
assert!(filter == CardFilter("name=Shock".to_string()))
Sourcepub fn names<T>(self, names: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn names<T>(self, names: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches one of the specified names will match the filter
let builder = CardFilter::builder();
let filter = builder.names(&vec!["Shock", "Mountain"])
.build();
assert!(filter == CardFilter("name=Shock|Mountain".to_string()));
Sourcepub fn name_with_language<'a, T>(
self,
name: T,
language: CardLanguage,
) -> CardFilterBuilder
pub fn name_with_language<'a, T>( self, name: T, language: CardLanguage, ) -> CardFilterBuilder
Every card that (partially) matches the specified name will match the filter
let builder = CardFilter::builder();
let filter = builder.name_with_language("Schock", CardLanguage::German)
.build();
assert!(filter == CardFilter("name=Schock&language=German".to_string()))
Sourcepub fn names_with_language<T>(
self,
names: &[T],
language: CardLanguage,
) -> CardFilterBuilderwhere
T: Display,
pub fn names_with_language<T>(
self,
names: &[T],
language: CardLanguage,
) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches one of the specified names will match the filter
let builder = CardFilter::builder();
let filter = builder.names_with_language(&vec!["Schock", "Gebirge"], CardLanguage::German)
.build();
assert!(filter == CardFilter("name=Schock|Gebirge&language=German".to_string()));
Sourcepub fn layout(self, layout: CardLayout) -> CardFilterBuilder
pub fn layout(self, layout: CardLayout) -> CardFilterBuilder
Every card name that has the specified layout will match the filter
let builder = CardFilter::builder();
let filter = builder.layout(CardLayout::DoubleFaced)
.build();
assert!(filter == CardFilter("layout=Double-Faced".to_string()));
Sourcepub fn layouts(self, layouts: &[CardLayout]) -> CardFilterBuilder
pub fn layouts(self, layouts: &[CardLayout]) -> CardFilterBuilder
Every card that has one of the specified layouts will match the filter
let builder = CardFilter::builder();
let filter = builder.layouts(&vec![CardLayout::Normal, CardLayout::DoubleFaced])
.build();
assert!(filter == CardFilter("layout=Normal|Double-Faced".to_string()));
Sourcepub fn converted_mana_cost(self, cmc: u8) -> CardFilterBuilder
pub fn converted_mana_cost(self, cmc: u8) -> CardFilterBuilder
Every card name that has the specified converted mana cost will match the filter
let builder = CardFilter::builder();
let filter = builder.converted_mana_cost(3)
.build();
assert!(filter == CardFilter("cmc=3".to_string()));
Sourcepub fn color(self, color: CardColor) -> CardFilterBuilder
pub fn color(self, color: CardColor) -> CardFilterBuilder
Every card that includes the specified color will match the filter
let builder = CardFilter::builder();
let filter = builder.color(CardColor::Red)
.build();
assert!(filter == CardFilter("colors=Red".to_string()));
Sourcepub fn colors_or(self, colors: &[CardColor]) -> CardFilterBuilder
pub fn colors_or(self, colors: &[CardColor]) -> CardFilterBuilder
Every card that includes one the specified colors will match the filter
let builder = CardFilter::builder();
let filter = builder.colors_or(&vec![CardColor::Red, CardColor::Blue])
.build();
assert!(filter == CardFilter("colors=Red|Blue".to_string()));
Sourcepub fn colors_and(self, colors: &[CardColor]) -> CardFilterBuilder
pub fn colors_and(self, colors: &[CardColor]) -> CardFilterBuilder
Every card that includes all the specified colors will match the filter
let builder = CardFilter::builder();
let filter = builder.colors_and(&vec![CardColor::Red, CardColor::Blue])
.build();
assert!(filter == CardFilter("colors=Red,Blue".to_string()));
Sourcepub fn color_identity(
self,
color_identity: CardColorIdentity,
) -> CardFilterBuilder
pub fn color_identity( self, color_identity: CardColorIdentity, ) -> CardFilterBuilder
Every card that includes the specified color code will match the filter
let builder = CardFilter::builder();
let filter = builder.color_identity(CardColorIdentity::R)
.build();
assert!(filter == CardFilter("colorIdentity=R".to_string()));
Sourcepub fn color_identities_or(
self,
color_identities: &[CardColorIdentity],
) -> CardFilterBuilder
pub fn color_identities_or( self, color_identities: &[CardColorIdentity], ) -> CardFilterBuilder
Every card that includes one of the specified color codes will match the filter
let builder = CardFilter::builder();
let filter = builder.color_identities_or(&vec![CardColorIdentity::R, CardColorIdentity::U])
.build();
assert!(filter == CardFilter("colorIdentity=R|U".to_string()));
Sourcepub fn color_identities_and(
self,
color_identities: &[CardColorIdentity],
) -> CardFilterBuilder
pub fn color_identities_and( self, color_identities: &[CardColorIdentity], ) -> CardFilterBuilder
Every card that includes all of the specified color codes will match the filter
let builder = CardFilter::builder();
let filter = builder.color_identities_and(&vec![CardColorIdentity::R, CardColorIdentity::U])
.build();
assert!(filter == CardFilter("colorIdentity=R,U".to_string()));
Sourcepub fn fulltype<'a, T>(self, fulltype: T) -> CardFilterBuilder
pub fn fulltype<'a, T>(self, fulltype: T) -> CardFilterBuilder
Every card that (partially) matches the specified types will match the filter
let builder = CardFilter::builder();
let filter = builder.fulltype("Legendary Creature")
.build();
assert!(filter == CardFilter("types=Legendary Creature".to_string()));
Sourcepub fn fulltypes_or<T>(self, fulltypes: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn fulltypes_or<T>(self, fulltypes: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches one of the specified types will match the filter
let builder = CardFilter::builder();
let filter = builder.fulltypes_or(&vec!["Legendary Creature", "Human"])
.build();
assert!(filter == CardFilter("types=Legendary Creature|Human".to_string()));
Sourcepub fn fulltypes_and<T>(self, fulltypes: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn fulltypes_and<T>(self, fulltypes: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches all of the specified types will match the filter
let builder = CardFilter::builder();
let filter = builder.fulltypes_and(&vec!["Legendary", "Creature", "Human"])
.build();
assert!(filter == CardFilter("types=Legendary,Creature,Human".to_string()));
Sourcepub fn supertype(self, supertype: CardSuperType) -> CardFilterBuilder
pub fn supertype(self, supertype: CardSuperType) -> CardFilterBuilder
Every card that is of the specified supertype will match the filter
let builder = CardFilter::builder();
let filter = builder.supertype(CardSuperType::Legendary)
.build();
assert!(filter == CardFilter("supertypes=Legendary".to_string()));
Sourcepub fn supertypes_or(self, supertypes: &[CardSuperType]) -> CardFilterBuilder
pub fn supertypes_or(self, supertypes: &[CardSuperType]) -> CardFilterBuilder
Every card that is one of the specified supertypes will match the filter
let builder = CardFilter::builder();
let filter = builder.supertypes_or(&vec![CardSuperType::Basic, CardSuperType::Legendary])
.build();
assert!(filter == CardFilter("supertypes=Basic|Legendary".to_string()));
Sourcepub fn supertypes_and(self, supertypes: &[CardSuperType]) -> CardFilterBuilder
pub fn supertypes_and(self, supertypes: &[CardSuperType]) -> CardFilterBuilder
Every card that is all of the specified supertypes will match the filter
let builder = CardFilter::builder();
let filter = builder.supertypes_and(&vec![CardSuperType::Basic, CardSuperType::Legendary])
.build();
assert!(filter == CardFilter("supertypes=Basic,Legendary".to_string()));
Sourcepub fn cardtype(self, cardtype: CardType) -> CardFilterBuilder
pub fn cardtype(self, cardtype: CardType) -> CardFilterBuilder
Every card that is of the specified types will match the filter
let builder = CardFilter::builder();
let filter = builder.cardtype(CardType::Creature)
.build();
assert!(filter == CardFilter("types=Creature".to_string()));
Sourcepub fn cardtypes_or(self, cardtypes: &[CardType]) -> CardFilterBuilder
pub fn cardtypes_or(self, cardtypes: &[CardType]) -> CardFilterBuilder
Every card that is of one of the specified types will match the filter
let builder = CardFilter::builder();
let filter = builder.cardtypes_or(&vec![CardType::Creature, CardType::Artifact])
.build();
assert!(filter == CardFilter("types=Creature|Artifact".to_string()));
Sourcepub fn cardtypes_and(self, cardtypes: &[CardType]) -> CardFilterBuilder
pub fn cardtypes_and(self, cardtypes: &[CardType]) -> CardFilterBuilder
Every card that is of all of the specified types will match the filter
let builder = CardFilter::builder();
let filter = builder.cardtypes_and(&vec![CardType::Creature, CardType::Artifact])
.build();
assert!(filter == CardFilter("types=Creature,Artifact".to_string()));
Sourcepub fn subtype<'a, T>(self, subtype: T) -> CardFilterBuilder
pub fn subtype<'a, T>(self, subtype: T) -> CardFilterBuilder
Every card that is of the specified subtype will match the filter
let builder = CardFilter::builder();
let filter = builder.subtype("Human")
.build();
assert!(filter == CardFilter("subtypes=Human".to_string()));
Sourcepub fn subtypes_or<T>(self, subtypes: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn subtypes_or<T>(self, subtypes: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that is of one of the specified subtypes will match the filter
let builder = CardFilter::builder();
let filter = builder.subtypes_or(&vec!["Human", "Soldier"])
.build();
assert!(filter == CardFilter("subtypes=Human|Soldier".to_string()));
Sourcepub fn subtypes_and<T>(self, subtypes: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn subtypes_and<T>(self, subtypes: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that is of all of the specified subtypes will match the filter
let builder = CardFilter::builder();
let filter = builder.subtypes_and(&vec!["Human", "Soldier"])
.build();
assert!(filter == CardFilter("subtypes=Human,Soldier".to_string()));
Sourcepub fn rarity(self, rarity: CardRarity) -> CardFilterBuilder
pub fn rarity(self, rarity: CardRarity) -> CardFilterBuilder
Every card that is of the specified rarity will match the filter
let builder = CardFilter::builder();
let filter = builder.rarity(CardRarity::Rare)
.build();
assert!(filter == CardFilter("rarity=Rare".to_string()));
Sourcepub fn rarities(self, rarities: &[CardRarity]) -> CardFilterBuilder
pub fn rarities(self, rarities: &[CardRarity]) -> CardFilterBuilder
Every card that is of one of the specified rarities will match the filter
let builder = CardFilter::builder();
let filter = builder.rarities(&vec![CardRarity::Rare, CardRarity::MythicRare])
.build();
assert!(filter == CardFilter("rarity=Rare|Mythic Rare".to_string()));
Sourcepub fn set<'a, T>(self, set: T) -> CardFilterBuilder
pub fn set<'a, T>(self, set: T) -> CardFilterBuilder
Every card that is in the specified set will match the filter
let builder = CardFilter::builder();
let filter = builder.set("AER")
.build();
assert!(filter == CardFilter("set=AER".to_string()));
Sourcepub fn sets<T>(self, sets: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn sets<T>(self, sets: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that is in one of the specified sets will match the filter
let builder = CardFilter::builder();
let filter = builder.sets(&vec!["AER", "M19"])
.build();
assert!(filter == CardFilter("set=AER|M19".to_string()));
Sourcepub fn set_name<'a, T>(self, set: T) -> CardFilterBuilder
pub fn set_name<'a, T>(self, set: T) -> CardFilterBuilder
Every card that (partially) matches the specified set name will match the filter
let builder = CardFilter::builder();
let filter = builder.set_name("Core Set 2019")
.build();
assert!(filter == CardFilter("setName=Core Set 2019".to_string()));
Sourcepub fn set_names<T>(self, sets: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn set_names<T>(self, sets: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches one of the specified set names will match the filter
let builder = CardFilter::builder();
let filter = builder.set_names(&vec!["Core Set 2019", "Aether Revolt"])
.build();
assert!(filter == CardFilter("setName=Core Set 2019|Aether Revolt".to_string()));
Sourcepub fn text<'a, T>(self, text: T) -> CardFilterBuilder
pub fn text<'a, T>(self, text: T) -> CardFilterBuilder
Every card that (partially) matches the specified oracle text will match the filter
let builder = CardFilter::builder();
let filter = builder.text("deals 2 damage")
.build();
assert!(filter == CardFilter("text=deals 2 damage".to_string()));
Sourcepub fn texts_or<T>(self, texts: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn texts_or<T>(self, texts: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches one of the specified oracle texts will match the filter
let builder = CardFilter::builder();
let filter = builder.texts_or(&vec!["deals", "damage"])
.build();
assert!(filter == CardFilter("text=deals|damage".to_string()));
Sourcepub fn texts_and<T>(self, texts: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn texts_and<T>(self, texts: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches all of the specified oracle texts will match the filter
let builder = CardFilter::builder();
let filter = builder.texts_and(&vec!["deals", "damage"])
.build();
assert!(filter == CardFilter("text=deals,damage".to_string()));
Sourcepub fn flavor<'a, T>(self, flavor: T) -> CardFilterBuilder
pub fn flavor<'a, T>(self, flavor: T) -> CardFilterBuilder
Every card that (partially) matches the specified flavour text will match the filter
let builder = CardFilter::builder();
let filter = builder.flavor("S.N.E.A.K.")
.build();
assert!(filter == CardFilter("flavor=S.N.E.A.K.".to_string()));
Sourcepub fn flavors_or<T>(self, flavors: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn flavors_or<T>(self, flavors: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches one of the specified flavour texts will match the filter
let builder = CardFilter::builder();
let filter = builder.flavors_or(&vec!["Espionage", "Kidnapping"])
.build();
assert!(filter == CardFilter("flavor=Espionage|Kidnapping".to_string()));
Sourcepub fn flavors_and<T>(self, flavors: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn flavors_and<T>(self, flavors: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that (partially) matches all of the specified flavour texts will match the filter
let builder = CardFilter::builder();
let filter = builder.flavors_and(&vec!["Serious", "Nonstop Espionage and Kidnapping"])
.build();
assert!(filter == CardFilter("flavor=Serious,Nonstop Espionage and Kidnapping".to_string()));
Sourcepub fn artist<'a, T>(self, artist: T) -> CardFilterBuilder
pub fn artist<'a, T>(self, artist: T) -> CardFilterBuilder
Every card that is drawn by the specified artist will match the filter
let builder = CardFilter::builder();
let filter = builder.artist("Kev Walker")
.build();
assert!(filter == CardFilter("artist=Kev Walker".to_string()));
Sourcepub fn artists<T>(self, artists: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn artists<T>(self, artists: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card that is drawn by one of the specified artists will match the filter
let builder = CardFilter::builder();
let filter = builder.artists(&vec!["Kev Walker", "Pete Venters"])
.build();
assert!(filter == CardFilter("artist=Kev Walker|Pete Venters".to_string()));
Sourcepub fn number<'a, T>(self, number: T) -> CardFilterBuilder
pub fn number<'a, T>(self, number: T) -> CardFilterBuilder
Every card with the specified card number will match the filter
The card number may contain letters
let builder = CardFilter::builder();
let filter = builder.number("1")
.build();
assert!(filter == CardFilter("number=1".to_string()));
Sourcepub fn numbers<T>(self, numbers: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn numbers<T>(self, numbers: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card with one of the specified card numbers will match the filter
The card number may contain letters
let builder = CardFilter::builder();
let filter = builder.numbers(&vec!["1", "2"])
.build();
assert!(filter == CardFilter("number=1|2".to_string()));
Sourcepub fn power<'a, T>(self, power: T) -> CardFilterBuilder
pub fn power<'a, T>(self, power: T) -> CardFilterBuilder
Every card with the specified power will match the filter
Some cards have powers like: “1+*”
let builder = CardFilter::builder();
let filter = builder.power("1")
.build();
assert!(filter == CardFilter("power=1".to_string()));
Sourcepub fn powers<T>(self, powers: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn powers<T>(self, powers: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card with one of the specified powers will match the filter
Some cards have powers like: “1+*”
let builder = CardFilter::builder();
let filter = builder.powers(&vec!["1", "2"])
.build();
assert!(filter == CardFilter("power=1|2".to_string()));
Sourcepub fn toughness<'a, T>(self, toughness: T) -> CardFilterBuilder
pub fn toughness<'a, T>(self, toughness: T) -> CardFilterBuilder
Every card with the specified toughness will match the filter
Some cards have toughness like: “1+*”
let builder = CardFilter::builder();
let filter = builder.toughness("1")
.build();
assert!(filter == CardFilter("toughness=1".to_string()));
Sourcepub fn toughnesses<T>(self, toughnesses: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn toughnesses<T>(self, toughnesses: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card with one of the specified toughnesses will match the filter
Some cards have toughnesses like: “1+*”
let builder = CardFilter::builder();
let filter = builder.toughnesses(&vec!["1", "2"])
.build();
assert!(filter == CardFilter("toughness=1|2".to_string()));
Sourcepub fn loyality<'a, T>(self, loyality: T) -> CardFilterBuilder
pub fn loyality<'a, T>(self, loyality: T) -> CardFilterBuilder
Every card with the specified loyality will match the filter
This is only present for planeswalkers
let builder = CardFilter::builder();
let filter = builder.loyality("3")
.build();
assert!(filter == CardFilter("loyality=3".to_string()));
Sourcepub fn loyalities<T>(self, loyalities: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn loyalities<T>(self, loyalities: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card with one of the specified loyalities will match the filter
This is only present for planeswalkers
let builder = CardFilter::builder();
let filter = builder.loyalities(&vec!["3", "5"])
.build();
assert!(filter == CardFilter("loyality=3|5".to_string()));
Sourcepub fn game_format(self, format: GameFormat) -> CardFilterBuilder
pub fn game_format(self, format: GameFormat) -> CardFilterBuilder
Every card that is legal in the specified game format will match the filter
let builder = CardFilter::builder();
let filter = builder.game_format(GameFormat::Standard)
.build();
assert!(filter == CardFilter("gameFormat=Standard".to_string()));
Sourcepub fn game_formats(self, formats: &[GameFormat]) -> CardFilterBuilder
pub fn game_formats(self, formats: &[GameFormat]) -> CardFilterBuilder
Every card that is legal in the specified game formats will match the filter
let builder = CardFilter::builder();
let filter = builder.game_format(GameFormat::Standard)
.build();
assert!(filter == CardFilter("gameFormat=Standard".to_string()));
Sourcepub fn game_format_with_legality(
self,
format: GameFormat,
legality: CardLegality,
) -> CardFilterBuilder
pub fn game_format_with_legality( self, format: GameFormat, legality: CardLegality, ) -> CardFilterBuilder
Every card that is of the specified legality in the specified game format will match the filter
let builder = CardFilter::builder();
let filter = builder.game_format_with_legality(GameFormat::Commander, CardLegality::Banned)
.build();
assert!(filter == CardFilter("gameFormat=Commander&legality=Banned".to_string()));
Sourcepub fn game_formats_with_legality(
self,
formats: &[GameFormat],
legality: CardLegality,
) -> CardFilterBuilder
pub fn game_formats_with_legality( self, formats: &[GameFormat], legality: CardLegality, ) -> CardFilterBuilder
Every card that is of the specified legality in the specified game formats will match the filter
let builder = CardFilter::builder();
let filter = builder.game_formats_with_legality(&vec![GameFormat::Standard, GameFormat::Commander], CardLegality::Banned)
.build();
assert!(filter == CardFilter("gameFormat=Standard|Commander&legality=Banned".to_string()));
Sourcepub fn multiverse_id<'a, T>(self, multiverse_id: T) -> CardFilterBuilder
pub fn multiverse_id<'a, T>(self, multiverse_id: T) -> CardFilterBuilder
Every card with the specified multiverse Id will match the filter
This is only present for planeswalkers
let builder = CardFilter::builder();
let filter = builder.multiverse_id("409741")
.build();
assert!(filter == CardFilter("multiverseid=409741".to_string()));
Sourcepub fn multiverse_ids<T>(self, multiverse_ids: &[T]) -> CardFilterBuilderwhere
T: Display,
pub fn multiverse_ids<T>(self, multiverse_ids: &[T]) -> CardFilterBuilderwhere
T: Display,
Every card with one of the specified multiverse Ids will match the filter
This is only present for planeswalkers
let builder = CardFilter::builder();
let filter = builder.multiverse_ids(&vec!["409741", "409742"])
.build();
assert!(filter == CardFilter("multiverseid=409741|409742".to_string()));
Sourcepub fn contains_field(self, field: CardResponseField) -> CardFilterBuilder
pub fn contains_field(self, field: CardResponseField) -> CardFilterBuilder
Every card that contains the specified field in the response will match the filter
let builder = CardFilter::builder();
let filter = builder.contains_field(CardResponseField::ImageUrl)
.build();
assert!(filter == CardFilter("contains=imageUrl".to_string()));
Sourcepub fn contains_fields(self, fields: &[CardResponseField]) -> CardFilterBuilder
pub fn contains_fields(self, fields: &[CardResponseField]) -> CardFilterBuilder
Every card that contains one of the specified fields in the response will match the filter
let builder = CardFilter::builder();
let filter = builder.contains_fields(&vec![CardResponseField::ImageUrl, CardResponseField::MultiverseId])
.build();
assert!(filter == CardFilter("contains=imageUrl|multiverseid".to_string()));
Trait Implementations§
Source§impl Clone for CardFilterBuilder
impl Clone for CardFilterBuilder
Source§fn clone(&self) -> CardFilterBuilder
fn clone(&self) -> CardFilterBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CardFilterBuilder
impl RefUnwindSafe for CardFilterBuilder
impl Send for CardFilterBuilder
impl Sync for CardFilterBuilder
impl Unpin for CardFilterBuilder
impl UnwindSafe for CardFilterBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more