pub struct HeaderStrategy { /* private fields */ }Expand description
Extracts tenant identifier from a named request header.
Created by header(). Produces TenantId::Id.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HeaderStrategy
impl RefUnwindSafe for HeaderStrategy
impl Send for HeaderStrategy
impl Sync for HeaderStrategy
impl Unpin for HeaderStrategy
impl UnsafeUnpin for HeaderStrategy
impl UnwindSafe for HeaderStrategy
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