pub struct CliArgs {
pub host: Option<String>,
pub port: Option<u16>,
pub base_url: Option<String>,
pub storage_root: Option<String>,
pub storage_type: Option<String>,
pub oidc_enabled: Option<bool>,
pub oidc_issuer: Option<String>,
pub nip98_enabled: Option<bool>,
pub base_domain: Option<String>,
pub subdomains_enabled: Option<bool>,
}Expand description
CLI-derived overlay values. Each field is Option<_> so the
operator can leave every flag unset (yielding a no-op overlay).
The binary crate (solid-pod-rs-server/src/main.rs) constructs this
from clap-parsed args and passes it to
ConfigLoader::with_cli_overlay. Framework-agnostic callers can
use the plain struct-literal form.
Sprint 11 (row 121): highest-precedence layer. The field set is the
subset of crate::config::schema::ServerConfig that CLI
operators routinely override at boot.
Fields§
§host: Option<String>§port: Option<u16>§base_url: Option<String>§storage_root: Option<String>§storage_type: Option<String>§oidc_enabled: Option<bool>§oidc_issuer: Option<String>§nip98_enabled: Option<bool>§base_domain: Option<String>§subdomains_enabled: Option<bool>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliArgs
impl RefUnwindSafe for CliArgs
impl Send for CliArgs
impl Sync for CliArgs
impl Unpin for CliArgs
impl UnsafeUnpin for CliArgs
impl UnwindSafe for CliArgs
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