pub struct ContentLanguage(/* private fields */);Expand description
The Content-Language header in its untyped form.
Trait Implementations§
Source§impl Clone for ContentLanguage
impl Clone for ContentLanguage
Source§fn clone(&self) -> ContentLanguage
fn clone(&self) -> ContentLanguage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContentLanguage
impl Debug for ContentLanguage
Source§impl Display for ContentLanguage
impl Display for ContentLanguage
Source§impl<'a> From<&str> for ContentLanguage
impl<'a> From<&str> for ContentLanguage
Source§impl From<ContentLanguage> for Header
impl From<ContentLanguage> for Header
Source§fn from(from: ContentLanguage) -> Self
fn from(from: ContentLanguage) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ContentLanguage> for String
impl<'a> From<ContentLanguage> for String
Source§fn from(from: ContentLanguage) -> Self
fn from(from: ContentLanguage) -> Self
Converts to this type from the input type.
Source§impl<'a> From<String> for ContentLanguage
impl<'a> From<String> for ContentLanguage
Source§impl PartialEq for ContentLanguage
impl PartialEq for ContentLanguage
Source§impl<'a> UntypedHeader<'a> for ContentLanguage
impl<'a> UntypedHeader<'a> for ContentLanguage
impl Eq for ContentLanguage
impl StructuralPartialEq for ContentLanguage
Auto Trait Implementations§
impl Freeze for ContentLanguage
impl RefUnwindSafe for ContentLanguage
impl Send for ContentLanguage
impl Sync for ContentLanguage
impl Unpin 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