pub struct EmbeddingsResult {
pub embeddings: Vec<Vec<f32>>,
pub usage: EmbeddingsUsage,
}
Expand description
Result of generating embeddings
Fields§
§embeddings: Vec<Vec<f32>>
The embeddings generated by the request
usage: EmbeddingsUsage
Usage related to the embeddings generation request
Trait Implementations§
Source§impl Clone for EmbeddingsResult
impl Clone for EmbeddingsResult
Source§fn clone(&self) -> EmbeddingsResult
fn clone(&self) -> EmbeddingsResult
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for EmbeddingsResult
impl RefUnwindSafe for EmbeddingsResult
impl Send for EmbeddingsResult
impl Sync for EmbeddingsResult
impl Unpin for EmbeddingsResult
impl UnwindSafe for EmbeddingsResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)