#[non_exhaustive]pub struct WildcardQuery {
pub boost: Option<f32>,
pub field: Option<String>,
pub wildcard: String,
}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>§field: Option<String>§wildcard: StringImplementations§
Trait Implementations§
Source§impl Clone for WildcardQuery
impl Clone for WildcardQuery
Source§fn clone(&self) -> WildcardQuery
fn clone(&self) -> WildcardQuery
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 WildcardQuery
impl Debug for WildcardQuery
Source§impl PartialEq for WildcardQuery
impl PartialEq for WildcardQuery
Source§impl Serialize for WildcardQuery
impl Serialize for WildcardQuery
impl StructuralPartialEq for WildcardQuery
Auto Trait Implementations§
impl Freeze for WildcardQuery
impl RefUnwindSafe for WildcardQuery
impl Send for WildcardQuery
impl Sync for WildcardQuery
impl Unpin for WildcardQuery
impl UnsafeUnpin for WildcardQuery
impl UnwindSafe for WildcardQuery
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