#[non_exhaustive]pub struct ContentEmbedding {
pub values: Vec<f32>,
pub shape: Vec<i32>,
pub extra: ExtraFields,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.values: Vec<f32>§shape: Vec<i32>§extra: ExtraFieldsImplementations§
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 (const: unstable) · 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 Default for ContentEmbedding
impl Default for ContentEmbedding
Source§fn default() -> ContentEmbedding
fn default() -> ContentEmbedding
Returns the “default value” for a type. Read more
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 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