Struct tantivy_query_grammar::UserInputLiteral
source · [−]pub struct UserInputLiteral {
pub field_name: Option<String>,
pub phrase: String,
pub slop: u32,
}
Fields
field_name: Option<String>
phrase: String
slop: u32
Trait Implementations
sourceimpl Debug for UserInputLiteral
impl Debug for UserInputLiteral
sourceimpl From<UserInputLiteral> for UserInputLeaf
impl From<UserInputLiteral> for UserInputLeaf
sourcefn from(literal: UserInputLiteral) -> UserInputLeaf
fn from(literal: UserInputLiteral) -> UserInputLeaf
Converts to this type from the input type.
sourceimpl PartialEq<UserInputLiteral> for UserInputLiteral
impl PartialEq<UserInputLiteral> for UserInputLiteral
sourcefn eq(&self, other: &UserInputLiteral) -> bool
fn eq(&self, other: &UserInputLiteral) -> bool
impl StructuralPartialEq for UserInputLiteral
Auto Trait Implementations
impl RefUnwindSafe for UserInputLiteral
impl Send for UserInputLiteral
impl Sync for UserInputLiteral
impl Unpin for UserInputLiteral
impl UnwindSafe for UserInputLiteral
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more