pub struct GeminiContentEmbedding {
pub values: Vec<f64>,
pub shape: Option<Vec<i32>>,
}Expand description
A list of floats representing one embedding vector.
Fields§
§values: Vec<f64>§shape: Option<Vec<i32>>Trait Implementations§
Source§impl Clone for GeminiContentEmbedding
impl Clone for GeminiContentEmbedding
Source§fn clone(&self) -> GeminiContentEmbedding
fn clone(&self) -> GeminiContentEmbedding
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 GeminiContentEmbedding
impl Debug for GeminiContentEmbedding
Source§impl Default for GeminiContentEmbedding
impl Default for GeminiContentEmbedding
Source§fn default() -> GeminiContentEmbedding
fn default() -> GeminiContentEmbedding
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeminiContentEmbedding
impl<'de> Deserialize<'de> for GeminiContentEmbedding
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 GeminiContentEmbedding
impl PartialEq for GeminiContentEmbedding
Source§impl Serialize for GeminiContentEmbedding
impl Serialize for GeminiContentEmbedding
impl StructuralPartialEq for GeminiContentEmbedding
Auto Trait Implementations§
impl Freeze for GeminiContentEmbedding
impl RefUnwindSafe for GeminiContentEmbedding
impl Send for GeminiContentEmbedding
impl Sync for GeminiContentEmbedding
impl Unpin for GeminiContentEmbedding
impl UnsafeUnpin for GeminiContentEmbedding
impl UnwindSafe for GeminiContentEmbedding
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