[−][src]Struct openapi_context::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 Into<HeaderValue> for IntoHeaderValue<u64>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<i64>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<DateTime<Utc>>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<i16>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<u16>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<u32>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<usize>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<isize>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<i32>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<Vec<String>>
[src]
fn into(self) -> HeaderValue
[src]
impl Into<HeaderValue> for IntoHeaderValue<String>
[src]
fn into(self) -> HeaderValue
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<u64>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<i64>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<DateTime<Utc>>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<i16>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<u16>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<u32>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<usize>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<isize>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<i32>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<Vec<String>>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(hdr_value: HeaderValue) -> Result<Self, Self::Error>
[src]
impl TryFrom<HeaderValue> for IntoHeaderValue<String>
[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> Same<T> for T
type Output = T
Should always be Self
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>,