pub struct ChatPreferences {
pub copilot_model: Option<String>,
pub pi_model: Option<String>,
pub acp_model: Option<String>,
pub approve_all: bool,
}Expand description
Preferences captured by the UI at the boundary where a new chat opens.
Fields§
§copilot_model: Option<String>§pi_model: Option<String>§acp_model: Option<String>§approve_all: boolTrait Implementations§
Source§impl Clone for ChatPreferences
impl Clone for ChatPreferences
Source§impl Debug for ChatPreferences
impl Debug for ChatPreferences
Source§impl Default for ChatPreferences
impl Default for ChatPreferences
impl Eq for ChatPreferences
Source§impl PartialEq for ChatPreferences
impl PartialEq for ChatPreferences
impl StructuralPartialEq for ChatPreferences
Auto Trait Implementations§
impl Forget for ChatPreferences
impl Freeze for ChatPreferences
impl Move for ChatPreferences
impl RefUnwindSafe for ChatPreferences
impl Send for ChatPreferences
impl Sync for ChatPreferences
impl Unpin for ChatPreferences
impl UnsafeUnpin for ChatPreferences
impl UnwindSafe for ChatPreferences
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.