pub struct EmbeddingUpdate {
pub embedding_id: String,
pub new_embedding: Embedding,
pub update_reason: UpdateReason,
pub metadata: HashMap<String, Value>,
}Expand description
Embedding update information
Fields§
§embedding_id: StringEmbedding ID to update
new_embedding: EmbeddingNew embedding data
update_reason: UpdateReasonUpdate reason
metadata: HashMap<String, Value>Update metadata
Trait Implementations§
Source§impl Clone for EmbeddingUpdate
impl Clone for EmbeddingUpdate
Source§fn clone(&self) -> EmbeddingUpdate
fn clone(&self) -> EmbeddingUpdate
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 EmbeddingUpdate
impl Debug for EmbeddingUpdate
Source§impl<'de> Deserialize<'de> for EmbeddingUpdate
impl<'de> Deserialize<'de> for EmbeddingUpdate
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 EmbeddingUpdate
impl RefUnwindSafe for EmbeddingUpdate
impl Send for EmbeddingUpdate
impl Sync for EmbeddingUpdate
impl Unpin for EmbeddingUpdate
impl UnwindSafe for EmbeddingUpdate
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