Enum os_query_builder_rs::misc::query_field::QueryField
source · pub enum QueryField {
Match(Match),
MultiMatch(MultiMatch),
QueryString(QueryString),
SimpleQueryString(SimpleQueryString),
MatchPhrase(MatchPhrase),
MatchPhrasePrefix(MatchPhrasePrefix),
Terms(Terms),
Term(Term),
Bool(Bool),
}Variants§
Match(Match)
MultiMatch(MultiMatch)
QueryString(QueryString)
SimpleQueryString(SimpleQueryString)
MatchPhrase(MatchPhrase)
MatchPhrasePrefix(MatchPhrasePrefix)
Terms(Terms)
Term(Term)
Bool(Bool)
Trait Implementations§
source§impl Clone for QueryField
impl Clone for QueryField
source§fn clone(&self) -> QueryField
fn clone(&self) -> QueryField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for QueryField
impl Debug for QueryField
source§impl From<Bool> for QueryField
impl From<Bool> for QueryField
source§impl From<Match> for QueryField
impl From<Match> for QueryField
source§impl From<MatchPhrase> for QueryField
impl From<MatchPhrase> for QueryField
source§fn from(val: MatchPhrase) -> Self
fn from(val: MatchPhrase) -> Self
Converts to this type from the input type.
source§impl From<MatchPhrasePrefix> for QueryField
impl From<MatchPhrasePrefix> for QueryField
source§fn from(val: MatchPhrasePrefix) -> Self
fn from(val: MatchPhrasePrefix) -> Self
Converts to this type from the input type.
source§impl From<MultiMatch> for QueryField
impl From<MultiMatch> for QueryField
source§fn from(val: MultiMatch) -> Self
fn from(val: MultiMatch) -> Self
Converts to this type from the input type.
source§impl From<QueryString> for QueryField
impl From<QueryString> for QueryField
source§fn from(val: QueryString) -> Self
fn from(val: QueryString) -> Self
Converts to this type from the input type.
source§impl From<SimpleQueryString> for QueryField
impl From<SimpleQueryString> for QueryField
source§fn from(val: SimpleQueryString) -> Self
fn from(val: SimpleQueryString) -> Self
Converts to this type from the input type.
source§impl From<Term> for QueryField
impl From<Term> for QueryField
source§impl From<Terms> for QueryField
impl From<Terms> for QueryField
Auto Trait Implementations§
impl Freeze for QueryField
impl RefUnwindSafe for QueryField
impl Send for QueryField
impl Sync for QueryField
impl Unpin for QueryField
impl UnwindSafe for QueryField
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)