pub struct LoggingOptions {
pub additional_allowed_header_names: Vec<Cow<'static, str>>,
pub additional_allowed_query_params: Vec<Cow<'static, str>>,
}Available on crate feature
export-azure only.Expand description
Controls what HTTP headers and query parameters are logged by default.
Headers and query parameters not in the allow list will be redacted.
This list is added to the default allow list of headers and query parameters.
Fieldsยง
ยงadditional_allowed_header_names: Vec<Cow<'static, str>>The allowed header names to be logged.
additional_allowed_query_params: Vec<Cow<'static, str>>The allowed query parameters to be logged.
Trait Implementationsยง
Sourceยงimpl Clone for LoggingOptions
impl Clone for LoggingOptions
Sourceยงfn clone(&self) -> LoggingOptions
fn clone(&self) -> LoggingOptions
Returns a duplicate of the value. Read more
1.0.0 ยท 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 LoggingOptions
impl Debug for LoggingOptions
Sourceยงimpl Default for LoggingOptions
impl Default for LoggingOptions
Sourceยงfn default() -> LoggingOptions
fn default() -> LoggingOptions
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for LoggingOptions
impl RefUnwindSafe for LoggingOptions
impl Send for LoggingOptions
impl Sync for LoggingOptions
impl Unpin for LoggingOptions
impl UnsafeUnpin for LoggingOptions
impl UnwindSafe for LoggingOptions
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