pub struct StaticAuthResolver(pub Option<String>);Expand description
Auth resolver that always returns the same static header.
Tuple Fields§
§0: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for StaticAuthResolver
impl RefUnwindSafe for StaticAuthResolver
impl Send for StaticAuthResolver
impl Sync for StaticAuthResolver
impl Unpin for StaticAuthResolver
impl UnsafeUnpin for StaticAuthResolver
impl UnwindSafe for StaticAuthResolver
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