Struct cohere_rust::api::detect_language::DetectLanguageRequest
source · pub struct DetectLanguageRequest<'input> {
pub texts: &'input [String],
}
Fields§
§texts: &'input [String]
List of detected languages, one per text
Trait Implementations§
source§impl<'input> Debug for DetectLanguageRequest<'input>
impl<'input> Debug for DetectLanguageRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for DetectLanguageRequest<'input>
impl<'input> Send for DetectLanguageRequest<'input>
impl<'input> Sync for DetectLanguageRequest<'input>
impl<'input> Unpin for DetectLanguageRequest<'input>
impl<'input> UnwindSafe for DetectLanguageRequest<'input>
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