Struct tantivy_query_grammar::UserInputLiteral
source · pub struct UserInputLiteral {
pub field_name: Option<String>,
pub phrase: String,
pub delimiter: Delimiter,
pub slop: u32,
pub prefix: bool,
}
Fields§
§field_name: Option<String>
§phrase: String
§delimiter: Delimiter
§slop: u32
§prefix: bool
Trait Implementations§
source§impl Clone for UserInputLiteral
impl Clone for UserInputLiteral
source§fn clone(&self) -> UserInputLiteral
fn clone(&self) -> UserInputLiteral
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 UserInputLiteral
impl Debug for UserInputLiteral
source§impl From<UserInputLiteral> for UserInputLeaf
impl From<UserInputLiteral> for UserInputLeaf
source§fn from(literal: UserInputLiteral) -> UserInputLeaf
fn from(literal: UserInputLiteral) -> UserInputLeaf
Converts to this type from the input type.
source§impl PartialEq for UserInputLiteral
impl PartialEq for UserInputLiteral
source§fn eq(&self, other: &UserInputLiteral) -> bool
fn eq(&self, other: &UserInputLiteral) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserInputLiteral
Auto Trait Implementations§
impl Freeze for UserInputLiteral
impl RefUnwindSafe for UserInputLiteral
impl Send for UserInputLiteral
impl Sync for UserInputLiteral
impl Unpin for UserInputLiteral
impl UnwindSafe for UserInputLiteral
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