pub struct EmbeddingJob {
pub model: String,
pub texts: Vec<String>,
pub batch_size: usize,
}Fields§
§model: String§texts: Vec<String>§batch_size: usizeTrait Implementations§
Source§impl Clone for EmbeddingJob
impl Clone for EmbeddingJob
Source§fn clone(&self) -> EmbeddingJob
fn clone(&self) -> EmbeddingJob
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 EmbeddingJob
impl Debug for EmbeddingJob
Source§impl<'de> Deserialize<'de> for EmbeddingJob
impl<'de> Deserialize<'de> for EmbeddingJob
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 EmbeddingJob
impl RefUnwindSafe for EmbeddingJob
impl Send for EmbeddingJob
impl Sync for EmbeddingJob
impl Unpin for EmbeddingJob
impl UnsafeUnpin for EmbeddingJob
impl UnwindSafe for EmbeddingJob
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