pub struct ValidateQueryResponse {
pub error: Option<String>,
pub explanations: Option<Vec<IndicesValidationExplanation>>,
pub valid: bool,
pub shards: Option<ShardStatistics>,
}Fields§
§error: Option<String>§explanations: Option<Vec<IndicesValidationExplanation>>§valid: bool§shards: Option<ShardStatistics>Implementations§
Source§impl ValidateQueryResponse
impl ValidateQueryResponse
pub fn new(valid: bool) -> ValidateQueryResponse
Trait Implementations§
Source§impl Clone for ValidateQueryResponse
impl Clone for ValidateQueryResponse
Source§fn clone(&self) -> ValidateQueryResponse
fn clone(&self) -> ValidateQueryResponse
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 ValidateQueryResponse
impl Debug for ValidateQueryResponse
Source§impl Default for ValidateQueryResponse
impl Default for ValidateQueryResponse
Source§fn default() -> ValidateQueryResponse
fn default() -> ValidateQueryResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidateQueryResponse
impl<'de> Deserialize<'de> for ValidateQueryResponse
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 ValidateQueryResponse
impl PartialEq for ValidateQueryResponse
Source§fn eq(&self, other: &ValidateQueryResponse) -> bool
fn eq(&self, other: &ValidateQueryResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValidateQueryResponse
impl Serialize for ValidateQueryResponse
impl StructuralPartialEq for ValidateQueryResponse
Auto Trait Implementations§
impl Freeze for ValidateQueryResponse
impl RefUnwindSafe for ValidateQueryResponse
impl Send for ValidateQueryResponse
impl Sync for ValidateQueryResponse
impl Unpin for ValidateQueryResponse
impl UnsafeUnpin for ValidateQueryResponse
impl UnwindSafe for ValidateQueryResponse
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