pub struct ContentLanguage;Expand description
States the content-language header an answer carries.
Trait Implementations§
Source§impl Debug for ContentLanguage
impl Debug for ContentLanguage
Source§impl Default for ContentLanguage
impl Default for ContentLanguage
Source§fn default() -> ContentLanguage
fn default() -> ContentLanguage
Returns the “default value” for a type. Read more
Source§impl HeaderNameAlg for ContentLanguage
impl HeaderNameAlg for ContentLanguage
Source§const HEADER_NAME: &'static str = "content-language"
const HEADER_NAME: &'static str = "content-language"
The name this header is written under, as the wire spells one.
Auto Trait Implementations§
impl Freeze for ContentLanguage
impl RefUnwindSafe for ContentLanguage
impl Send for ContentLanguage
impl Sync for ContentLanguage
impl Unpin for ContentLanguage
impl UnsafeUnpin for ContentLanguage
impl UnwindSafe for ContentLanguage
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
Source§impl<This> HttpProgramExt<This> for This
impl<This> HttpProgramExt<This> for This
Source§fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
Compiles a named HTTP program with this interpreter.