pub struct AppConfig {Show 18 fields
pub features: FeaturesConfig,
pub server_did: Option<String>,
pub mediator_did: Option<String>,
pub public_url: Option<String>,
pub server: ServerConfig,
pub log: LogConfig,
pub store: StoreConfig,
pub auth: AuthConfig,
pub hosting: HostingConfig,
pub secrets: SecretsConfig,
pub limits: LimitsConfig,
pub stats: StatsConfig,
pub watchers: Vec<WatcherEndpoint>,
pub control_url: Option<String>,
pub control_did: Option<String>,
pub vta: VtaConfig,
pub identity: IdentityConfig,
pub config_path: PathBuf,
}Fields§
§features: FeaturesConfig§server_did: Option<String>§mediator_did: Option<String>§public_url: Option<String>§server: ServerConfig§log: LogConfig§store: StoreConfig§auth: AuthConfig§hosting: HostingConfigMulti-domain hosting (bootstrap_domains + unassigned_purge_grace).
Daemon mode already exposes this via its own DaemonConfig; the
standalone server gains it here so T28’s unassignment handler
(which lives in did-hosting-server::messaging) can read the
grace duration uniformly.
secrets: SecretsConfig§limits: LimitsConfig§stats: StatsConfig§watchers: Vec<WatcherEndpoint>§control_url: Option<String>URL of the control plane for service registration.
control_did: Option<String>DID of the control plane service (for DIDComm authentication).
vta: VtaConfig§identity: IdentityConfigHow the service’s own identity is produced, and how long a superseded
generation keeps being honoured after a rotation
(identity.rotation_grace_period).
config_path: PathBufImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppConfig
impl<'de> Deserialize<'de> for AppConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnsafeUnpin 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