pub struct Config {
pub verbose: bool,
pub interactive: bool,
pub message: Option<String>,
pub stream: Option<bool>,
pub file: Option<ConfigFile>,
}Expand description
The main configuration for the Tofu application.
Fields§
§verbose: boolWhether to enable verbose output
interactive: boolWhether to enable interactive mode
message: Option<String>Optional message string
stream: Option<bool>Whether to JSON stream the response
file: Option<ConfigFile>Configuration loaded from file
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 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