pub struct TaskJournalEntry {Show 13 fields
pub id: String,
pub project_id: String,
pub goal_id: String,
pub goal_run_id: String,
pub task_id: Option<String>,
pub attempt_id: Option<String>,
pub entry_type: String,
pub actor_type: String,
pub actor_id: String,
pub source_channel: Option<String>,
pub body: String,
pub payload: Option<String>,
pub created_at: String,
}Expand description
Append-only collaboration and audit record. Tool/LLM telemetry remains in
TaskActivity; this journal is for durable decisions and human interaction.
Fields§
§id: String§project_id: String§goal_id: String§goal_run_id: String§task_id: Option<String>§attempt_id: Option<String>§entry_type: String“comment”, “blocked”, “unblocked”, “assigned”, “handoff”, “lease_lost”, “workspace”, or “transition”
actor_type: String“human”, “agent”, or “system”
actor_id: String§source_channel: Option<String>§body: String§payload: Option<String>§created_at: StringImplementations§
Source§impl TaskJournalEntry
impl TaskJournalEntry
pub fn new( project_id: &str, goal_id: &str, goal_run_id: &str, entry_type: &str, actor_type: &str, actor_id: &str, body: &str, ) -> Self
pub fn with_task(self, task_id: Option<&str>, attempt_id: Option<&str>) -> Self
pub fn with_source_channel(self, source_channel: Option<&str>) -> Self
Trait Implementations§
Source§impl Clone for TaskJournalEntry
impl Clone for TaskJournalEntry
Source§impl Debug for TaskJournalEntry
impl Debug for TaskJournalEntry
Source§impl<'de> Deserialize<'de> for TaskJournalEntry
impl<'de> Deserialize<'de> for TaskJournalEntry
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
impl Eq for TaskJournalEntry
Source§impl PartialEq for TaskJournalEntry
impl PartialEq for TaskJournalEntry
Source§impl Serialize for TaskJournalEntry
impl Serialize for TaskJournalEntry
impl StructuralPartialEq for TaskJournalEntry
Auto Trait Implementations§
impl Forget for TaskJournalEntry
impl Freeze for TaskJournalEntry
impl Move for TaskJournalEntry
impl RefUnwindSafe for TaskJournalEntry
impl Send for TaskJournalEntry
impl Sync for TaskJournalEntry
impl Unpin for TaskJournalEntry
impl UnsafeUnpin for TaskJournalEntry
impl UnwindSafe for TaskJournalEntry
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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