pub struct ContentLanguage(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for ContentLanguage
impl Clone for ContentLanguage
source§fn clone(&self) -> ContentLanguage
fn clone(&self) -> ContentLanguage
Returns a copy 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<S> From<S> for ContentLanguage
impl<S> From<S> for ContentLanguage
source§impl Header for ContentLanguage
impl Header for ContentLanguage
fn name(&self) -> HeaderName
fn value(&self) -> HeaderValue
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> AsHeaders for Twhere
T: Header,
impl<T> AsHeaders for Twhere
T: Header,
type Iter = IntoIter<(HeaderName, HeaderValue)>
fn as_headers(&self) -> <T as AsHeaders>::Iter
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)