pub struct ThreadStartParams {
pub model: Option<String>,
pub model_provider: Option<String>,
pub cwd: Option<PathBuf>,
pub persist_extended_history: bool,
}Fields§
§model: Option<String>§model_provider: Option<String>§cwd: Option<PathBuf>§persist_extended_history: boolTrait Implementations§
Source§impl Clone for ThreadStartParams
impl Clone for ThreadStartParams
Source§fn clone(&self) -> ThreadStartParams
fn clone(&self) -> ThreadStartParams
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 ThreadStartParams
impl Debug for ThreadStartParams
Source§impl<'de> Deserialize<'de> for ThreadStartParams
impl<'de> Deserialize<'de> for ThreadStartParams
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 ThreadStartParams
impl RefUnwindSafe for ThreadStartParams
impl Send for ThreadStartParams
impl Sync for ThreadStartParams
impl Unpin for ThreadStartParams
impl UnsafeUnpin for ThreadStartParams
impl UnwindSafe for ThreadStartParams
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