pub struct EnvOverrides;Expand description
Environment variable overrides
Implementations§
Source§impl EnvOverrides
impl EnvOverrides
Sourcepub fn parse() -> HashMap<String, String>
pub fn parse() -> HashMap<String, String>
Parse environment variables with RICECODER_ prefix
Returns a map of configuration paths to values. For example, RICECODER_PROVIDERS_DEFAULT=openai becomes {“providers.default_provider”: “openai”}
Auto Trait Implementations§
impl Freeze for EnvOverrides
impl RefUnwindSafe for EnvOverrides
impl Send for EnvOverrides
impl Sync for EnvOverrides
impl Unpin for EnvOverrides
impl UnwindSafe for EnvOverrides
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