pub struct ApiKeyHeaderStrategy { /* private fields */ }Expand description
Extracts tenant API key from a named request header.
Created by api_key_header(). Produces TenantId::ApiKey, which is
redacted in Display and Debug output.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ApiKeyHeaderStrategy
impl RefUnwindSafe for ApiKeyHeaderStrategy
impl Send for ApiKeyHeaderStrategy
impl Sync for ApiKeyHeaderStrategy
impl Unpin for ApiKeyHeaderStrategy
impl UnsafeUnpin for ApiKeyHeaderStrategy
impl UnwindSafe for ApiKeyHeaderStrategy
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