pub struct DeleteByQuery {
pub max_docs: Option<u32>,
pub query: Option<Query>,
pub slice: Option<SlicedScroll>,
}Expand description
DeleteByQuery The search definition using the Query DSL
Fields§
§max_docs: Option<u32>The maximum number of documents to delete.
query: Option<Query>§slice: Option<SlicedScroll>Implementations§
Source§impl DeleteByQuery
impl DeleteByQuery
Sourcepub fn new() -> DeleteByQuery
pub fn new() -> DeleteByQuery
The search definition using the Query DSL
Trait Implementations§
Source§impl Clone for DeleteByQuery
impl Clone for DeleteByQuery
Source§fn clone(&self) -> DeleteByQuery
fn clone(&self) -> DeleteByQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteByQuery
impl Debug for DeleteByQuery
Source§impl Default for DeleteByQuery
impl Default for DeleteByQuery
Source§fn default() -> DeleteByQuery
fn default() -> DeleteByQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteByQuery
impl<'de> Deserialize<'de> for DeleteByQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeleteByQuery
impl PartialEq for DeleteByQuery
Source§fn eq(&self, other: &DeleteByQuery) -> bool
fn eq(&self, other: &DeleteByQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteByQuery
impl Serialize for DeleteByQuery
impl StructuralPartialEq for DeleteByQuery
Auto Trait Implementations§
impl Freeze for DeleteByQuery
impl RefUnwindSafe for DeleteByQuery
impl Send for DeleteByQuery
impl Sync for DeleteByQuery
impl Unpin for DeleteByQuery
impl UnsafeUnpin for DeleteByQuery
impl UnwindSafe for DeleteByQuery
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