pub struct AppConfig {
pub source: ConfigSource,
}Expand description
Minimal application configuration placeholder.
This type exists to make the intent of the crate explicit.
In production, applications typically define their own configuration struct (often serde)
and use helpers in this crate for loading/merging patterns before validating into the final
schema.
Fields§
§source: ConfigSourceWhere configuration should be loaded from.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnwindSafe for AppConfig
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