pub struct IndexEventRequest {
pub event_id: Uuid,
pub tenant_id: String,
pub embedding: EmbeddingVector,
pub source_text: Option<String>,
}Expand description
Request to index an event’s embedding
Fields§
§event_id: Uuid§tenant_id: String§embedding: EmbeddingVector§source_text: Option<String>Trait Implementations§
Source§impl Clone for IndexEventRequest
impl Clone for IndexEventRequest
Source§fn clone(&self) -> IndexEventRequest
fn clone(&self) -> IndexEventRequest
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 moreAuto Trait Implementations§
impl Freeze for IndexEventRequest
impl RefUnwindSafe for IndexEventRequest
impl Send for IndexEventRequest
impl Sync for IndexEventRequest
impl Unpin for IndexEventRequest
impl UnsafeUnpin for IndexEventRequest
impl UnwindSafe for IndexEventRequest
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