Struct tower_http::validate_request::AcceptHeader
source · 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>
impl<B, ResBody> ValidateRequest<B> for AcceptHeader<ResBody>
Auto Trait Implementations§
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