pub struct PhaseRecord {
pub name: String,
pub kind: PhaseKind,
pub status: PhaseStatus,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
pub turns: u32,
pub cost_usd: f64,
pub cost: TokenCost,
pub duration_secs: u64,
pub details: Value,
}Expand description
Record of a single execution phase.
Fields§
§name: StringPhase name (e.g., "pub-item-extraction", "review", "verify").
kind: PhaseKindWhether this is a development or quality-assurance phase.
status: PhaseStatusCurrent status of this phase.
started_at: Option<DateTime<Utc>>When execution of this phase started.
completed_at: Option<DateTime<Utc>>When execution of this phase completed.
turns: u32Number of agent conversation turns used.
cost_usd: f64Total cost in USD for this phase.
cost: TokenCostToken usage breakdown.
duration_secs: u64Wall-clock duration in seconds.
details: ValuePhase-specific details (flexible schema).
Trait Implementations§
Source§impl Clone for PhaseRecord
impl Clone for PhaseRecord
Source§fn clone(&self) -> PhaseRecord
fn clone(&self) -> PhaseRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 PhaseRecord
impl Debug for PhaseRecord
Source§impl<'de> Deserialize<'de> for PhaseRecord
impl<'de> Deserialize<'de> for PhaseRecord
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 PhaseRecord
impl RefUnwindSafe for PhaseRecord
impl Send for PhaseRecord
impl Sync for PhaseRecord
impl Unpin for PhaseRecord
impl UnsafeUnpin for PhaseRecord
impl UnwindSafe for PhaseRecord
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