pub struct Embeddings {
pub object: String,
pub data: Vec<Embedding>,
pub model: String,
pub usage: Usage,
}
Fields§
§object: String
§data: Vec<Embedding>
§model: String
§usage: Usage
Trait Implementations§
Source§impl Debug for Embeddings
impl Debug for Embeddings
Source§impl<'de> Deserialize<'de> for Embeddings
impl<'de> Deserialize<'de> for Embeddings
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 Embeddings
impl RefUnwindSafe for Embeddings
impl Send for Embeddings
impl Sync for Embeddings
impl Unpin for Embeddings
impl UnwindSafe for Embeddings
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