pub struct Config { /* private fields */ }Expand description
Configuration struct
Implementations§
Source§impl Config
impl Config
Sourcepub fn output_file(&self) -> &str
pub fn output_file(&self) -> &str
Getter for output_file
Sourcepub fn is_key_valid(key: &str) -> bool
pub fn is_key_valid(key: &str) -> bool
Validates that a variable key follows standard ENV naming conventions
Sourcepub fn sanitized_vars(&self) -> Vec<(String, String)>
pub fn sanitized_vars(&self) -> Vec<(String, String)>
Returns a vector of sanitized (key, value) variables
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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