[−][src]Struct swagger::IntoHeaderValue
A struct to allow homogeneous conversion into a HeaderValue. We can't implement the From/Into trait on HeaderValue because we don't own either of the types.
Trait Implementations
impl<T: Clone> Clone for IntoHeaderValue<T>
[src]
fn clone(&self) -> IntoHeaderValue<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug> Debug for IntoHeaderValue<T>
[src]
impl<T> Deref for IntoHeaderValue<T>
[src]
impl From<HeaderValue> for IntoHeaderValue<u64>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<i64>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<DateTime<Utc>>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<i16>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<u16>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<u32>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<usize>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<isize>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<i32>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<Vec<String>>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<HeaderValue> for IntoHeaderValue<String>
[src]
fn from(hdr_value: HeaderValue) -> Self
[src]
impl From<IntoHeaderValue<DateTime<Utc>>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<DateTime<Utc>>) -> Self
[src]
impl From<IntoHeaderValue<String>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<String>) -> Self
[src]
impl From<IntoHeaderValue<Vec<String>>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<Vec<String>>) -> Self
[src]
impl From<IntoHeaderValue<i16>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<i16>) -> Self
[src]
impl From<IntoHeaderValue<i32>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<i32>) -> Self
[src]
impl From<IntoHeaderValue<i64>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<i64>) -> Self
[src]
impl From<IntoHeaderValue<isize>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<isize>) -> Self
[src]
impl From<IntoHeaderValue<u16>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<u16>) -> Self
[src]
impl From<IntoHeaderValue<u32>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<u32>) -> Self
[src]
impl From<IntoHeaderValue<u64>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<u64>) -> Self
[src]
impl From<IntoHeaderValue<usize>> for HeaderValue
[src]
fn from(hdr_value: IntoHeaderValue<usize>) -> Self
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for IntoHeaderValue<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for IntoHeaderValue<T> where
T: Send,
T: Send,
impl<T> Sync for IntoHeaderValue<T> where
T: Sync,
T: Sync,
impl<T> Unpin for IntoHeaderValue<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for IntoHeaderValue<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,