pub struct Episode {
pub id: Uuid,
pub source: String,
pub kind: String,
pub content: String,
pub occurred_at: TimestampMs,
pub group_id: String,
pub created_at: TimestampMs,
}Expand description
A provenance episode as stored.
Fields§
§id: UuidUUIDv7 identity.
source: StringOrigin of the content.
kind: StringFree-form source-kind tag (e.g. "message", "text", "json").
Opaque to grit — callers filter on it. Empty for episodes written
before schema v3.
content: StringRaw text.
occurred_at: TimestampMsEvent time.
group_id: StringNamespace.
created_at: TimestampMsSystem time: recorded.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Episode
impl<'de> Deserialize<'de> for Episode
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 StructuralPartialEq for Episode
Auto Trait Implementations§
impl Freeze for Episode
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin for Episode
impl UnsafeUnpin for Episode
impl UnwindSafe for Episode
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