pub struct Talk {
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 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.
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>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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