pub struct AppConfig {Show 14 fields
pub bind_addr: SocketAddr,
pub primary_url: String,
pub candidate_url: String,
pub secondary_url: String,
pub enable_secondary: bool,
pub return_target: ReturnTarget,
pub return_fallback: ReturnFallback,
pub response_timing: ResponseTiming,
pub max_body_capture_bytes: usize,
pub redact_headers: Vec<String>,
pub ignored_json_paths: Vec<String>,
pub ignored_headers: Vec<String>,
pub ignore_stderr: bool,
pub storage_path: PathBuf,
}Fields§
§bind_addr: SocketAddr§primary_url: String§candidate_url: String§secondary_url: String§enable_secondary: bool§return_target: ReturnTarget§return_fallback: ReturnFallback§response_timing: ResponseTiming§max_body_capture_bytes: usize§redact_headers: Vec<String>§ignored_json_paths: Vec<String>§ignored_headers: Vec<String>§ignore_stderr: bool§storage_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