#[non_exhaustive]pub struct BatchDetectSyntaxOutput {
    pub result_list: Vec<BatchDetectSyntaxItemResult>,
    pub error_list: Vec<BatchItemError>,
    /* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.result_list: Vec<BatchDetectSyntaxItemResult>A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
error_list: Vec<BatchItemError>A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.
Implementations§
source§impl BatchDetectSyntaxOutput
 
impl BatchDetectSyntaxOutput
sourcepub fn result_list(&self) -> &[BatchDetectSyntaxItemResult]
 
pub fn result_list(&self) -> &[BatchDetectSyntaxItemResult]
A list of objects containing the results of the operation. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If all of the documents contain an error, the ResultList is empty.
sourcepub fn error_list(&self) -> &[BatchItemError]
 
pub fn error_list(&self) -> &[BatchItemError]
A list containing one object for each document that contained an error. The results are sorted in ascending order by the Index field and match the order of the documents in the input list. If there are no errors in the batch, the ErrorList is empty.
source§impl BatchDetectSyntaxOutput
 
impl BatchDetectSyntaxOutput
sourcepub fn builder() -> BatchDetectSyntaxOutputBuilder
 
pub fn builder() -> BatchDetectSyntaxOutputBuilder
Creates a new builder-style object to manufacture BatchDetectSyntaxOutput.
Trait Implementations§
source§impl Clone for BatchDetectSyntaxOutput
 
impl Clone for BatchDetectSyntaxOutput
source§fn clone(&self) -> BatchDetectSyntaxOutput
 
fn clone(&self) -> BatchDetectSyntaxOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchDetectSyntaxOutput
 
impl Debug for BatchDetectSyntaxOutput
source§impl PartialEq for BatchDetectSyntaxOutput
 
impl PartialEq for BatchDetectSyntaxOutput
source§fn eq(&self, other: &BatchDetectSyntaxOutput) -> bool
 
fn eq(&self, other: &BatchDetectSyntaxOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchDetectSyntaxOutput
 
impl RequestId for BatchDetectSyntaxOutput
source§fn request_id(&self) -> Option<&str>
 
fn request_id(&self) -> Option<&str>
None if the service could not be reached.