pub struct ApiKeyRejection { /* private fields */ }Expand description
Rejection type when API key authentication fails.
Trait Implementations§
Source§impl IntoResponse for ApiKeyRejection
impl IntoResponse for ApiKeyRejection
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for ApiKeyRejection
impl RefUnwindSafe for ApiKeyRejection
impl Send for ApiKeyRejection
impl Sync for ApiKeyRejection
impl Unpin for ApiKeyRejection
impl UnsafeUnpin for ApiKeyRejection
impl UnwindSafe for ApiKeyRejection
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