pub struct UpdateByQuery {
pub slice: Option<SlicedScroll>,
pub max_docs: Option<u32>,
pub conflicts: Option<String>,
pub query: Option<Query>,
pub script: Option<Script>,
}Expand description
UpdateByQuery The search definition using the Query DSL
Fields§
§slice: Option<SlicedScroll>§max_docs: Option<u32>The maximum number of documents to update.
conflicts: Option<String>§query: Option<Query>§script: Option<Script>Implementations§
Source§impl UpdateByQuery
impl UpdateByQuery
Sourcepub fn new() -> UpdateByQuery
pub fn new() -> UpdateByQuery
The search definition using the Query DSL
Trait Implementations§
Source§impl Clone for UpdateByQuery
impl Clone for UpdateByQuery
Source§fn clone(&self) -> UpdateByQuery
fn clone(&self) -> UpdateByQuery
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 UpdateByQuery
impl Debug for UpdateByQuery
Source§impl Default for UpdateByQuery
impl Default for UpdateByQuery
Source§fn default() -> UpdateByQuery
fn default() -> UpdateByQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateByQuery
impl<'de> Deserialize<'de> for UpdateByQuery
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 UpdateByQuery
impl PartialEq for UpdateByQuery
Source§fn eq(&self, other: &UpdateByQuery) -> bool
fn eq(&self, other: &UpdateByQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateByQuery
impl Serialize for UpdateByQuery
impl StructuralPartialEq for UpdateByQuery
Auto Trait Implementations§
impl Freeze for UpdateByQuery
impl RefUnwindSafe for UpdateByQuery
impl Send for UpdateByQuery
impl Sync for UpdateByQuery
impl Unpin for UpdateByQuery
impl UnsafeUnpin for UpdateByQuery
impl UnwindSafe for UpdateByQuery
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