pub struct ChangelogEntry {
pub version: i64,
pub at: i64,
pub delta: String,
pub source_agent: Option<String>,
pub incoming_source_id: Option<String>,
}Expand description
A single revision entry in a memory’s changelog (topic-key upsert history).
Fields§
§version: i64§at: i64Unix timestamp of when this revision was written.
delta: StringHuman-readable one-liner describing what changed. May be empty when the LLM delta hasn’t been generated yet (async fill-in).
source_agent: Option<String>§incoming_source_id: Option<String>The source_id of the incoming memory that triggered this upsert.
Trait Implementations§
Source§impl Clone for ChangelogEntry
impl Clone for ChangelogEntry
Source§fn clone(&self) -> ChangelogEntry
fn clone(&self) -> ChangelogEntry
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 moreSource§impl Debug for ChangelogEntry
impl Debug for ChangelogEntry
Source§impl<'de> Deserialize<'de> for ChangelogEntry
impl<'de> Deserialize<'de> for ChangelogEntry
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 ChangelogEntry
impl RefUnwindSafe for ChangelogEntry
impl Send for ChangelogEntry
impl Sync for ChangelogEntry
impl Unpin for ChangelogEntry
impl UnsafeUnpin for ChangelogEntry
impl UnwindSafe for ChangelogEntry
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