pub struct SpanNearQuery {
pub field: String,
pub terms: Vec<String>,
pub slop: u32,
pub in_order: bool,
}Fields§
§field: String§terms: Vec<String>§slop: u32§in_order: boolAuto Trait Implementations§
impl Freeze for SpanNearQuery
impl RefUnwindSafe for SpanNearQuery
impl Send for SpanNearQuery
impl Sync for SpanNearQuery
impl Unpin for SpanNearQuery
impl UnsafeUnpin for SpanNearQuery
impl UnwindSafe for SpanNearQuery
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> 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>
Converts
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>
Converts
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