Trait searchspot::matches::VectorOfMatches
[−]
[src]
pub trait VectorOfMatches<T> { fn build_match(
key: &str,
values: &Vec<T>,
match_type: Option<MatchType>
) -> Vec<Query>; }
Required Methods
fn build_match(
key: &str,
values: &Vec<T>,
match_type: Option<MatchType>
) -> Vec<Query>
key: &str,
values: &Vec<T>,
match_type: Option<MatchType>
) -> Vec<Query>
Extract the elements inside Vec<T>
into Vec<Filter>
, if present.
Every element will be mapped into a JsonVal
.