pub struct BatchDetectDominantLanguageResponse {
pub error_list: Vec<BatchItemError>,
pub result_list: Vec<BatchDetectDominantLanguageItemResult>,
}Fields§
§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.
result_list: Vec<BatchDetectDominantLanguageItemResult>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.
Trait Implementations§
Source§impl Clone for BatchDetectDominantLanguageResponse
impl Clone for BatchDetectDominantLanguageResponse
Source§fn clone(&self) -> BatchDetectDominantLanguageResponse
fn clone(&self) -> BatchDetectDominantLanguageResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for BatchDetectDominantLanguageResponse
impl Default for BatchDetectDominantLanguageResponse
Source§fn default() -> BatchDetectDominantLanguageResponse
fn default() -> BatchDetectDominantLanguageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchDetectDominantLanguageResponse
impl<'de> Deserialize<'de> for BatchDetectDominantLanguageResponse
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 BatchDetectDominantLanguageResponse
impl PartialEq for BatchDetectDominantLanguageResponse
Source§fn eq(&self, other: &BatchDetectDominantLanguageResponse) -> bool
fn eq(&self, other: &BatchDetectDominantLanguageResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchDetectDominantLanguageResponse
Auto Trait Implementations§
impl Freeze for BatchDetectDominantLanguageResponse
impl RefUnwindSafe for BatchDetectDominantLanguageResponse
impl Send for BatchDetectDominantLanguageResponse
impl Sync for BatchDetectDominantLanguageResponse
impl Unpin for BatchDetectDominantLanguageResponse
impl UnwindSafe for BatchDetectDominantLanguageResponse
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