pub struct RecordMeta {
pub uuid: Option<String>,
pub parent_uuid: Option<String>,
pub is_sidechain: bool,
pub session_id: Option<String>,
pub cwd: Option<String>,
pub git_branch: Option<String>,
pub extra: ExtraFields,
}Expand description
Conversation-graph links and per-record metadata shared by user/assistant.
Fields§
§uuid: Option<String>This record’s id.
parent_uuid: Option<String>Parent record id (forms the conversation tree).
is_sidechain: boolWhether this record belongs to a subagent (Task) sidechain rather than the main thread. The loader does not yet separate sidechains.
session_id: Option<String>Session id.
cwd: Option<String>Working directory.
git_branch: Option<String>Git branch at the time.
extra: ExtraFieldsAnything else.
Trait Implementations§
Source§impl Clone for RecordMeta
impl Clone for RecordMeta
Source§fn clone(&self) -> RecordMeta
fn clone(&self) -> RecordMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecordMeta
impl Debug for RecordMeta
Source§impl<'de> Deserialize<'de> for RecordMeta
impl<'de> Deserialize<'de> for RecordMeta
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 RecordMeta
impl RefUnwindSafe for RecordMeta
impl Send for RecordMeta
impl Sync for RecordMeta
impl Unpin for RecordMeta
impl UnsafeUnpin for RecordMeta
impl UnwindSafe for RecordMeta
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