#[non_exhaustive]pub struct DisjunctionQuery {
pub boost: Option<f32>,
pub min: Option<u32>,
pub disjuncts: Vec<Query>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.boost: Option<f32>§min: Option<u32>§disjuncts: Vec<Query>Implementations§
Trait Implementations§
Source§impl Clone for DisjunctionQuery
impl Clone for DisjunctionQuery
Source§fn clone(&self) -> DisjunctionQuery
fn clone(&self) -> DisjunctionQuery
Returns a duplicate 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 DisjunctionQuery
impl Debug for DisjunctionQuery
Source§impl PartialEq for DisjunctionQuery
impl PartialEq for DisjunctionQuery
Source§impl Serialize for DisjunctionQuery
impl Serialize for DisjunctionQuery
impl StructuralPartialEq for DisjunctionQuery
Auto Trait Implementations§
impl Freeze for DisjunctionQuery
impl RefUnwindSafe for DisjunctionQuery
impl Send for DisjunctionQuery
impl Sync for DisjunctionQuery
impl Unpin for DisjunctionQuery
impl UnsafeUnpin for DisjunctionQuery
impl UnwindSafe for DisjunctionQuery
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