pub struct DotConfig {
pub version: String,
pub last_updated: u64,
pub preferences: UserPreferences,
pub providers: ProviderConfigs,
pub cache: CacheConfig,
pub ui: UiConfig,
}
Expand description
VTCode configuration stored in ~/.vtcode/
Fields§
§version: String
§last_updated: u64
§preferences: UserPreferences
§providers: ProviderConfigs
§cache: CacheConfig
§ui: UiConfig
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DotConfig
impl<'de> Deserialize<'de> for DotConfig
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 DotConfig
impl RefUnwindSafe for DotConfig
impl Send for DotConfig
impl Sync for DotConfig
impl Unpin for DotConfig
impl UnwindSafe for DotConfig
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