pub struct AutopilotObjectiveState {
pub completion_summary: Option<String>,
pub credit_count_nano_aiu: String,
pub credit_limit: Option<AutopilotObjectiveCreditLimit>,
pub id: i64,
pub objective: String,
pub pause_reason: Option<String>,
pub status: AutopilotObjectiveStatus,
pub turn_count: i64,
}Expand description
Public, persistence-independent projection of an autopilot objective.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§completion_summary: Option<String>Optional summary recorded when the objective completed.
credit_count_nano_aiu: StringExact lifetime AI-credit consumption in non-negative integer nano-AIU, encoded as a decimal string.
credit_limit: Option<AutopilotObjectiveCreditLimit>Current per-window consumption and optional cap, when a credit-tracking window is present.
id: i64Session-local objective identifier.
objective: StringUser-provided objective text.
pause_reason: Option<String>Optional reason the objective is paused.
status: AutopilotObjectiveStatusCurrent normalized lifecycle status.
turn_count: i64Number of objective turns started.
Trait Implementations§
Source§impl Clone for AutopilotObjectiveState
impl Clone for AutopilotObjectiveState
Source§fn clone(&self) -> AutopilotObjectiveState
fn clone(&self) -> AutopilotObjectiveState
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 AutopilotObjectiveState
impl Debug for AutopilotObjectiveState
Source§impl Default for AutopilotObjectiveState
impl Default for AutopilotObjectiveState
Source§fn default() -> AutopilotObjectiveState
fn default() -> AutopilotObjectiveState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutopilotObjectiveState
impl<'de> Deserialize<'de> for AutopilotObjectiveState
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 AutopilotObjectiveState
impl RefUnwindSafe for AutopilotObjectiveState
impl Send for AutopilotObjectiveState
impl Sync for AutopilotObjectiveState
impl Unpin for AutopilotObjectiveState
impl UnsafeUnpin for AutopilotObjectiveState
impl UnwindSafe for AutopilotObjectiveState
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