Struct Version
struct Version(_)
Represents a version of the HTTP spec.
Implementations
impl Version
impl Clone for Version
fn clone(self: &Self) -> Version
impl Copy for Version
impl Debug for Version
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Default for Version
fn default() -> Version
impl Eq for Version
impl Freeze for Version
impl Hash for Version
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl Ord for Version
fn cmp(self: &Self, other: &Version) -> $crate::cmp::Ordering
impl PartialEq for Version
fn eq(self: &Self, other: &Version) -> bool
impl PartialOrd for Version
fn partial_cmp(self: &Self, other: &Version) -> $crate::option::Option<$crate::cmp::Ordering>
impl RefUnwindSafe for Version
impl Send for Version
impl StructuralPartialEq for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
impl<T> Any for Version
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Version
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Version
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Version
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Version
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Version
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Version
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Version
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Version
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>