pub struct GoalHistoryEntry {
pub timestamp: String,
pub event: GoalEvent,
pub detail: Option<String>,
pub round: Option<u32>,
pub tokens_used: Option<i64>,
pub unmet: Vec<String>,
}Expand description
A single history entry for a goal lifecycle event.
Fields§
§timestamp: StringISO-8601 timestamp of the event.
event: GoalEventLifecycle event type.
detail: Option<String>Optional human-readable detail string.
round: Option<u32>Optional round number associated with the event.
tokens_used: Option<i64>Optional token count at the time of the event.
unmet: Vec<String>Unmet requirements or blockers recorded at this event.
Trait Implementations§
Source§impl Clone for GoalHistoryEntry
impl Clone for GoalHistoryEntry
Source§fn clone(&self) -> GoalHistoryEntry
fn clone(&self) -> GoalHistoryEntry
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 GoalHistoryEntry
impl Debug for GoalHistoryEntry
Source§impl<'de> Deserialize<'de> for GoalHistoryEntry
impl<'de> Deserialize<'de> for GoalHistoryEntry
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 GoalHistoryEntry
impl RefUnwindSafe for GoalHistoryEntry
impl Send for GoalHistoryEntry
impl Sync for GoalHistoryEntry
impl Unpin for GoalHistoryEntry
impl UnsafeUnpin for GoalHistoryEntry
impl UnwindSafe for GoalHistoryEntry
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