pub struct AuthorizationHeaderMask {
pub redactions: u64,
/* private fields */
}Expand description
Masks Authorization: <scheme> <token> as Authorization: [REDACTED]
byte-wise, so invalid UTF-8 passes through unchanged, holding at most
HOLDBACK pending bytes.
Fields§
§redactions: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthorizationHeaderMask
impl RefUnwindSafe for AuthorizationHeaderMask
impl Send for AuthorizationHeaderMask
impl Sync for AuthorizationHeaderMask
impl Unpin for AuthorizationHeaderMask
impl UnsafeUnpin for AuthorizationHeaderMask
impl UnwindSafe for AuthorizationHeaderMask
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