Struct GoalTaskRecord
pub struct GoalTaskRecord {
pub task_id: String,
pub objective: String,
pub effective_token_limit: Option<u64>,
pub effective_cost_limit_usd: Option<f64>,
pub pause_reason: Option<GoalPauseReason>,
pub pause_description: Option<String>,
pub blockers: Vec<GoalBlocker>,
}Fields§
§task_id: StringForeign key to the canonical TaskRecord.
objective: StringOperator/model-supplied objective text. Treated as prompt input, not as trusted policy data.
effective_token_limit: Option<u64>§effective_cost_limit_usd: Option<f64>§pause_reason: Option<GoalPauseReason>Controller-readable reason the goal is paused.
This explains a canonical TaskStatus::Paused state, but does not
replace it. Terminal lifecycle state remains on the canonical task row.
pause_description: Option<String>Human-facing pause summary. Policy must branch on pause_reason and
blockers, not by parsing this text.
blockers: Vec<GoalBlocker>Structured blockers that explain what must change before continuation. The blocker list is the durable machine-readable resume surface for goal-specific pauses.
Trait Implementations§
Source§impl Clone for GoalTaskRecord
impl Clone for GoalTaskRecord
Source§fn clone(&self) -> GoalTaskRecord
fn clone(&self) -> GoalTaskRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoalTaskRecord
impl Debug for GoalTaskRecord
Source§impl<'de> Deserialize<'de> for GoalTaskRecord
impl<'de> Deserialize<'de> for GoalTaskRecord
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
Source§impl PartialEq for GoalTaskRecord
impl PartialEq for GoalTaskRecord
Source§impl Serialize for GoalTaskRecord
impl Serialize for GoalTaskRecord
impl StructuralPartialEq for GoalTaskRecord
Auto Trait Implementations§
impl Freeze for GoalTaskRecord
impl RefUnwindSafe for GoalTaskRecord
impl Send for GoalTaskRecord
impl Sync for GoalTaskRecord
impl Unpin for GoalTaskRecord
impl UnsafeUnpin for GoalTaskRecord
impl UnwindSafe for GoalTaskRecord
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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