pub struct EmbeddedEvent {
pub event_id: Uuid,
pub tenant_id: String,
pub event_type: String,
pub entity_id: Option<String>,
pub payload: Value,
pub timestamp: DateTime<Utc>,
pub embedding: Option<Vec<f32>>,
}Expand description
An event plus its precomputed embedding, for HybridSearchEngine::index_embedded.
Fields§
§event_id: Uuid§tenant_id: String§event_type: String§entity_id: Option<String>§payload: Value§timestamp: DateTime<Utc>§embedding: Option<Vec<f32>>Trait Implementations§
Source§impl Clone for EmbeddedEvent
impl Clone for EmbeddedEvent
Auto Trait Implementations§
impl Forget for EmbeddedEvent
impl Freeze for EmbeddedEvent
impl RefUnwindSafe for EmbeddedEvent
impl Send for EmbeddedEvent
impl Sync for EmbeddedEvent
impl Unpin for EmbeddedEvent
impl UnsafeUnpin for EmbeddedEvent
impl UnwindSafe for EmbeddedEvent
Blanket Implementations§
impl<T> Allocation for T
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