pub struct ChatMetaConfig {
pub url: Option<String>,
pub model: Option<String>,
pub context_days: Option<u64>,
pub stream: Option<bool>,
pub connect_timeout_secs: Option<u64>,
}Expand description
Synced (non-sensitive) chat config fields stored in .mps.meta. api_key and sessions_dir are never written here — they stay local-only.
Fields§
§url: Option<String>§model: Option<String>§context_days: Option<u64>§stream: Option<bool>§connect_timeout_secs: Option<u64>Trait Implementations§
Source§impl Clone for ChatMetaConfig
impl Clone for ChatMetaConfig
Source§fn clone(&self) -> ChatMetaConfig
fn clone(&self) -> ChatMetaConfig
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 ChatMetaConfig
impl Debug for ChatMetaConfig
Source§impl Default for ChatMetaConfig
impl Default for ChatMetaConfig
Source§fn default() -> ChatMetaConfig
fn default() -> ChatMetaConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatMetaConfig
impl<'de> Deserialize<'de> for ChatMetaConfig
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 ChatMetaConfig
impl RefUnwindSafe for ChatMetaConfig
impl Send for ChatMetaConfig
impl Sync for ChatMetaConfig
impl Unpin for ChatMetaConfig
impl UnsafeUnpin for ChatMetaConfig
impl UnwindSafe for ChatMetaConfig
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