pub struct NoteMeta {
pub author: String,
pub source: NoteSource,
pub quality: NoteQuality,
pub needs_review: bool,
pub session_id: Option<String>,
pub message_index: Option<usize>,
pub saved_at: Option<String>,
}Expand description
Provenance metadata for agent-originated knowledge writes (RFC-022).
Serialized as the oxios: key inside YAML frontmatter.
Fields§
Who created this note.
source: NoteSourceHow the save was triggered.
quality: NoteQualityContent quality stage.
needs_review: boolWhether Dream should process this note.
session_id: Option<String>Originating session ID.
message_index: Option<usize>Message index in the session.
saved_at: Option<String>When the note was first saved (ISO 8601).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NoteMeta
impl<'de> Deserialize<'de> for NoteMeta
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 NoteMeta
impl RefUnwindSafe for NoteMeta
impl Send for NoteMeta
impl Sync for NoteMeta
impl Unpin for NoteMeta
impl UnsafeUnpin for NoteMeta
impl UnwindSafe for NoteMeta
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