pub struct ThreadGoal {
pub created_at: i64,
pub objective: String,
pub status: ThreadGoalStatus,
pub thread_id: String,
pub time_used_seconds: i64,
pub token_budget: Option<i64>,
pub tokens_used: i64,
pub updated_at: i64,
}Fields§
§created_at: i64§objective: String§status: ThreadGoalStatus§thread_id: String§time_used_seconds: i64§token_budget: Option<i64>§tokens_used: i64§updated_at: i64Trait Implementations§
Source§impl Clone for ThreadGoal
impl Clone for ThreadGoal
Source§fn clone(&self) -> ThreadGoal
fn clone(&self) -> ThreadGoal
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 ThreadGoal
impl Debug for ThreadGoal
Source§impl<'de> Deserialize<'de> for ThreadGoal
impl<'de> Deserialize<'de> for ThreadGoal
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 ThreadGoal
impl RefUnwindSafe for ThreadGoal
impl Send for ThreadGoal
impl Sync for ThreadGoal
impl Unpin for ThreadGoal
impl UnsafeUnpin for ThreadGoal
impl UnwindSafe for ThreadGoal
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