pub struct AppLocalConfig {Show 13 fields
pub conf_path: Option<String>,
pub build_dir: Option<String>,
pub state_dir: Option<String>,
pub state_path: Option<String>,
pub base_path: Option<String>,
pub log_path: Option<String>,
pub socket_path: Option<String>,
pub error_report_path: Option<String>,
pub log_level: Option<String>,
pub trusted_proxy_cidrs: Option<String>,
pub manifest_build_artifact_dir: Option<String>,
pub manifest_state_path: Option<String>,
pub manifest_base_path: Option<String>,
}Expand description
Resolved app-local config values loaded from app.conf.
§Fields
conf_path: Stored field onAppLocalConfig.build_dir: Stored field onAppLocalConfig.state_dir: Stored field onAppLocalConfig.state_path: Stored field onAppLocalConfig.base_path: Stored field onAppLocalConfig.log_path: Stored field onAppLocalConfig.socket_path: Stored field onAppLocalConfig.error_report_path: Stored field onAppLocalConfig.log_level: Stored field onAppLocalConfig.trusted_proxy_cidrs: Stored field onAppLocalConfig.manifest_build_artifact_dir: Stored field onAppLocalConfig.manifest_state_path: Stored field onAppLocalConfig.manifest_base_path: Stored field onAppLocalConfig.
§Examples
ⓘ
let _ = std::mem::size_of::<pharos_runtime_core::config::AppLocalConfig>();§Related
crate::configfor constructors, helpers, and neighboring runtime types.
Fields§
§conf_path: Option<String>§build_dir: Option<String>§state_dir: Option<String>§state_path: Option<String>§base_path: Option<String>§log_path: Option<String>§socket_path: Option<String>§error_report_path: Option<String>§log_level: Option<String>§trusted_proxy_cidrs: Option<String>§manifest_build_artifact_dir: Option<String>§manifest_state_path: Option<String>§manifest_base_path: Option<String>Trait Implementations§
Source§impl Clone for AppLocalConfig
impl Clone for AppLocalConfig
Source§fn clone(&self) -> AppLocalConfig
fn clone(&self) -> AppLocalConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppLocalConfig
impl Debug for AppLocalConfig
Source§impl Default for AppLocalConfig
impl Default for AppLocalConfig
Source§fn default() -> AppLocalConfig
fn default() -> AppLocalConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for AppLocalConfig
impl PartialEq for AppLocalConfig
Source§fn eq(&self, other: &AppLocalConfig) -> bool
fn eq(&self, other: &AppLocalConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AppLocalConfig
impl StructuralPartialEq for AppLocalConfig
Auto Trait Implementations§
impl Freeze for AppLocalConfig
impl RefUnwindSafe for AppLocalConfig
impl Send for AppLocalConfig
impl Sync for AppLocalConfig
impl Unpin for AppLocalConfig
impl UnsafeUnpin for AppLocalConfig
impl UnwindSafe for AppLocalConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.