pub enum AppMode {
MergedView,
SplitView,
AddProvider,
EditProvider {
provider_id: String,
},
ModelSelector {
provider_id: String,
},
AuthStatus,
Import,
}Expand description
The current UI state.
Variants§
MergedView
Viewing the merged config.
SplitView
Viewing global and project side by side.
AddProvider
Adding a new provider (wizard).
EditProvider
Editing an existing provider.
ModelSelector
Selecting models for a provider.
AuthStatus
Viewing auth status.
Import
Importing config.
Trait Implementations§
impl Eq for AppMode
impl StructuralPartialEq for AppMode
Auto Trait Implementations§
impl Freeze for AppMode
impl RefUnwindSafe for AppMode
impl Send for AppMode
impl Sync for AppMode
impl Unpin for AppMode
impl UnsafeUnpin for AppMode
impl UnwindSafe for AppMode
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§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.