pub enum ConfigScope {
Global,
Workspace {
id: String,
},
Chat,
}Expand description
Which level’s settings a ClientMsg::GetConfig / ClientMsg::SetConfig means.
Variants§
Global
settings.json (the endpoint itself changes with ClientMsg::SetInference).
Workspace
Chat
The chat this client looks at, or the new chat it is about to start.
Trait Implementations§
Source§impl Clone for ConfigScope
impl Clone for ConfigScope
Source§impl Debug for ConfigScope
impl Debug for ConfigScope
Source§impl<'de> Deserialize<'de> for ConfigScope
impl<'de> Deserialize<'de> for ConfigScope
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
impl Eq for ConfigScope
Source§impl PartialEq for ConfigScope
impl PartialEq for ConfigScope
Source§impl Serialize for ConfigScope
impl Serialize for ConfigScope
impl StructuralPartialEq for ConfigScope
Auto Trait Implementations§
impl Forget for ConfigScope
impl Freeze for ConfigScope
impl Move for ConfigScope
impl RefUnwindSafe for ConfigScope
impl Send for ConfigScope
impl Sync for ConfigScope
impl Unpin for ConfigScope
impl UnsafeUnpin for ConfigScope
impl UnwindSafe for ConfigScope
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