pub struct Talk {Show 13 fields
pub schema: u32,
pub id: String,
pub repo: PathBuf,
pub agent: String,
pub status: TalkStatus,
pub turns: Vec<Turn>,
pub pending: String,
pub pending_attachments: Vec<Attachment>,
pub fallback: bool,
pub persona: String,
pub persona_dirty: bool,
pub created_at: Timestamp,
pub updated_at: Timestamp,
/* private fields */
}Expand description
One standing conversation.
Fields§
§schema: u32On-disk format version.
id: StringConversation id, e.g. 20260904-014455-ab12.
repo: PathBufRepository this conversation is about.
agent: StringRoster agent id holding the conversation.
status: TalkStatusCurrent state.
turns: Vec<Turn>Everything said, oldest first.
pending: StringText and attachments accepted while the single CLI turn is busy.
They are durable, but become a real turn only when drain records them.
pending_attachments: Vec<Attachment>Attachments paired with Self::pending.
fallback: boolMay a failed turn fall back through the rest of [roles] chatter?
True only while the agent was chosen by that chain; an explicit
--agent or an operator’s switch pins the conversation to its agent
even when that agent also appears in the chain.
persona: StringPersona id (see crate::persona); empty is the plain default voice.
Independent of Self::agent: it survives an agent switch.
persona_dirty: boolThe persona changed after the CLI session was last told about it. The next resumed turn carries a persona update; cleared only once a turn has succeeded (a fresh seat’s briefing already holds the new persona).
created_at: TimestampWhen the conversation was opened.
updated_at: TimestampLast change to this file.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Talk
impl<'de> Deserialize<'de> for Talk
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>,
Auto Trait Implementations§
impl Freeze for Talk
impl RefUnwindSafe for Talk
impl Send for Talk
impl Sync for Talk
impl Unpin for Talk
impl UnsafeUnpin for Talk
impl UnwindSafe for Talk
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more