pub struct EmbedRequest {
pub inputs: Vec<String>,
pub budget: RemainingBudget,
pub cancel: CancellationToken,
}Expand description
Batched, not per item: the batch is where a remote provider’s round trip is amortized.
Fields§
§inputs: Vec<String>§budget: RemainingBudget§cancel: CancellationTokenAuto Trait Implementations§
impl Freeze for EmbedRequest
impl RefUnwindSafe for EmbedRequest
impl Send for EmbedRequest
impl Sync for EmbedRequest
impl Unpin for EmbedRequest
impl UnsafeUnpin for EmbedRequest
impl UnwindSafe for EmbedRequest
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