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