pub struct SessionEvent {
pub id: u64,
pub rev: u32,
pub provider: String,
pub source: String,
pub confidence: Confidence,
pub ts_ms: u64,
pub event: EventKind,
}Expand description
One typed event. id is stable for an item; rev grows when the same item changes
(a tool call getting its result, an answer growing). Consumers upsert by id.
Fields§
§id: u64§rev: u32§provider: String§source: Stringpty:<provider> or acp.
confidence: Confidence§ts_ms: u64§event: EventKindTrait Implementations§
Source§impl Clone for SessionEvent
impl Clone for SessionEvent
Source§impl Debug for SessionEvent
impl Debug for SessionEvent
Source§impl<'de> Deserialize<'de> for SessionEvent
impl<'de> Deserialize<'de> for SessionEvent
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
impl Eq for SessionEvent
Source§impl PartialEq for SessionEvent
impl PartialEq for SessionEvent
Source§impl Serialize for SessionEvent
impl Serialize for SessionEvent
impl StructuralPartialEq for SessionEvent
Auto Trait Implementations§
impl Freeze for SessionEvent
impl RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl Sync for SessionEvent
impl Unpin for SessionEvent
impl UnsafeUnpin for SessionEvent
impl UnwindSafe for SessionEvent
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