pub struct ContentEmbedding {
pub values: Vec<f32>,
}
Expand description
Text embedding representation
Fields§
§values: Vec<f32>
The values generated
Trait Implementations§
Source§impl Clone for ContentEmbedding
impl Clone for ContentEmbedding
Source§fn clone(&self) -> ContentEmbedding
fn clone(&self) -> ContentEmbedding
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 ContentEmbedding
impl Debug for ContentEmbedding
Source§impl<'de> Deserialize<'de> for ContentEmbedding
impl<'de> Deserialize<'de> for ContentEmbedding
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
Source§impl PartialEq for ContentEmbedding
impl PartialEq for ContentEmbedding
Source§impl Serialize for ContentEmbedding
impl Serialize for ContentEmbedding
impl StructuralPartialEq for ContentEmbedding
Auto Trait Implementations§
impl Freeze for ContentEmbedding
impl RefUnwindSafe for ContentEmbedding
impl Send for ContentEmbedding
impl Sync for ContentEmbedding
impl Unpin for ContentEmbedding
impl UnwindSafe for ContentEmbedding
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