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