Struct HttpVersion
#[repr(transparent)]pub struct HttpVersion(pub i32);
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
§impl Clone for HttpVersion
impl Clone for HttpVersion
§fn clone(&self) -> HttpVersion
fn clone(&self) -> HttpVersion
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 more§impl Debug for HttpVersion
impl Debug for HttpVersion
§impl Default for HttpVersion
impl Default for HttpVersion
§fn default() -> HttpVersion
fn default() -> HttpVersion
Returns the “default value” for a type. Read more
§impl PartialEq for HttpVersion
impl PartialEq for HttpVersion
impl Copy for HttpVersion
impl Eq for HttpVersion
impl StructuralPartialEq for HttpVersion
Auto Trait Implementations§
impl Freeze for HttpVersion
impl RefUnwindSafe for HttpVersion
impl Send for HttpVersion
impl Sync for HttpVersion
impl Unpin for HttpVersion
impl UnwindSafe for HttpVersion
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