pub struct AcceptHeader<ResBody> { /* private fields */ }
Available on crate feature
validate-request
only.Expand description
Type that performs validation of the Accept header.
Trait Implementations§
Source§impl<ResBody> Clone for AcceptHeader<ResBody>
impl<ResBody> Clone for AcceptHeader<ResBody>
Source§impl<ResBody> Debug for AcceptHeader<ResBody>
impl<ResBody> Debug for AcceptHeader<ResBody>
Source§impl<B, ResBody> ValidateRequest<B> for AcceptHeader<ResBody>where
ResBody: Default,
impl<B, ResBody> ValidateRequest<B> for AcceptHeader<ResBody>where
ResBody: Default,
Auto Trait Implementations§
impl<ResBody> Freeze for AcceptHeader<ResBody>
impl<ResBody> RefUnwindSafe for AcceptHeader<ResBody>
impl<ResBody> Send for AcceptHeader<ResBody>
impl<ResBody> Sync for AcceptHeader<ResBody>
impl<ResBody> Unpin for AcceptHeader<ResBody>
impl<ResBody> UnwindSafe for AcceptHeader<ResBody>
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