pub struct BatchDetectDominantLanguageRequest {
pub text_list: Vec<String>,
}Fields§
§text_list: Vec<String>A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document should contain at least 20 characters and must contain fewer than 5,000 bytes of UTF-8 encoded characters.
Trait Implementations§
Source§impl Clone for BatchDetectDominantLanguageRequest
impl Clone for BatchDetectDominantLanguageRequest
Source§fn clone(&self) -> BatchDetectDominantLanguageRequest
fn clone(&self) -> BatchDetectDominantLanguageRequest
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 BatchDetectDominantLanguageRequest
impl Default for BatchDetectDominantLanguageRequest
Source§fn default() -> BatchDetectDominantLanguageRequest
fn default() -> BatchDetectDominantLanguageRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchDetectDominantLanguageRequest
impl PartialEq for BatchDetectDominantLanguageRequest
Source§fn eq(&self, other: &BatchDetectDominantLanguageRequest) -> bool
fn eq(&self, other: &BatchDetectDominantLanguageRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchDetectDominantLanguageRequest
Auto Trait Implementations§
impl Freeze for BatchDetectDominantLanguageRequest
impl RefUnwindSafe for BatchDetectDominantLanguageRequest
impl Send for BatchDetectDominantLanguageRequest
impl Sync for BatchDetectDominantLanguageRequest
impl Unpin for BatchDetectDominantLanguageRequest
impl UnwindSafe for BatchDetectDominantLanguageRequest
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