pub struct BatchInsertRequest {
pub texts: Vec<BatchTextRequest>,
pub config: Option<BatchConfig>,
}
Expand description
Batch insert request
Fields§
§texts: Vec<BatchTextRequest>
Texts to insert
config: Option<BatchConfig>
Batch configuration
Trait Implementations§
Source§impl Clone for BatchInsertRequest
impl Clone for BatchInsertRequest
Source§fn clone(&self) -> BatchInsertRequest
fn clone(&self) -> BatchInsertRequest
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 Debug for BatchInsertRequest
impl Debug for BatchInsertRequest
Source§impl<'de> Deserialize<'de> for BatchInsertRequest
impl<'de> Deserialize<'de> for BatchInsertRequest
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
Auto Trait Implementations§
impl Freeze for BatchInsertRequest
impl RefUnwindSafe for BatchInsertRequest
impl Send for BatchInsertRequest
impl Sync for BatchInsertRequest
impl Unpin for BatchInsertRequest
impl UnwindSafe for BatchInsertRequest
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