pub struct RedactedHeaders { /* private fields */ }Expand description
Owns a deterministic log-safe rendering of an HTTP header map.
Implementations§
Source§impl RedactedHeaders
impl RedactedHeaders
Sourcepub const fn log_safe_text(&self) -> &LogSafeText<'static>
pub const fn log_safe_text(&self) -> &LogSafeText<'static>
Sourcepub fn into_log_safe_text(self) -> LogSafeText<'static>
pub fn into_log_safe_text(self) -> LogSafeText<'static>
Trait Implementations§
Source§impl Clone for RedactedHeaders
impl Clone for RedactedHeaders
Source§fn clone(&self) -> RedactedHeaders
fn clone(&self) -> RedactedHeaders
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 RedactedHeaders
impl Debug for RedactedHeaders
Source§impl Display for RedactedHeaders
impl Display for RedactedHeaders
impl Eq for RedactedHeaders
Source§impl PartialEq for RedactedHeaders
impl PartialEq for RedactedHeaders
impl StructuralPartialEq for RedactedHeaders
Auto Trait Implementations§
impl Freeze for RedactedHeaders
impl RefUnwindSafe for RedactedHeaders
impl Send for RedactedHeaders
impl Sync for RedactedHeaders
impl Unpin for RedactedHeaders
impl UnsafeUnpin for RedactedHeaders
impl UnwindSafe for RedactedHeaders
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