pub struct ContentEmbedding {
pub values: Option<Vec<f32>>,
pub statistics: Option<ContentEmbeddingStatistics>,
}Expand description
内容嵌入结果。
Fields§
§values: Option<Vec<f32>>§statistics: Option<ContentEmbeddingStatistics>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
Auto Trait Implementations§
impl Freeze for ContentEmbedding
impl RefUnwindSafe for ContentEmbedding
impl Send for ContentEmbedding
impl Sync for ContentEmbedding
impl Unpin for ContentEmbedding
impl UnsafeUnpin 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