style: make verbose fields private

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-16 12:23:53 -03:00
parent 3de5947d42
commit 5e111e002a
3 changed files with 4 additions and 4 deletions

View File

@@ -129,7 +129,7 @@ pub struct OptionsArgs {
#[arg(short, long, action = clap::ArgAction::Count, conflicts_with("quiet"))]
#[arg(help("Increase message verbosity, can be given more than once"))]
pub verbose: u8,
pub(crate) verbose: u8,
#[arg(short, long)]
#[arg(help("Do not show any messages"))]

View File

@@ -37,7 +37,7 @@ pub struct Settings {
pub list_format: Vec<ColumnConfig>,
pub human_readable: bool,
pub output_format: Option<String>,
pub verbose: u8,
pub(crate) verbose: u8,
pub quiet: bool,
pub force: bool,
pub server: Option<ServerConfig>,

View File

@@ -28,8 +28,8 @@ pub struct ServerConfig {
pub struct AppState {
pub db: Arc<Mutex<rusqlite::Connection>>,
pub data_dir: PathBuf,
pub(crate) password: Option<String>,
pub(crate) password_hash: Option<String>,
password: Option<String>,
password_hash: Option<String>,
}
#[derive(Serialize, Deserialize, ToSchema)]