pub struct HttpMethod<'a>(pub Cow<'a, str>);
Expand description
HTTP method (used when generating the response hash for some Qop options)
Tuple Fields§
§0: Cow<'a, str>
Implementations§
Source§impl<'a> HttpMethod<'a>
impl<'a> HttpMethod<'a>
Trait Implementations§
Source§impl<'a> Clone for HttpMethod<'a>
impl<'a> Clone for HttpMethod<'a>
Source§fn clone(&self) -> HttpMethod<'a>
fn clone(&self) -> HttpMethod<'a>
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<'a> Debug for HttpMethod<'a>
impl<'a> Debug for HttpMethod<'a>
Source§impl<'a> Default for HttpMethod<'a>
impl<'a> Default for HttpMethod<'a>
Source§impl<'a> Display for HttpMethod<'a>
impl<'a> Display for HttpMethod<'a>
Source§impl<'a> From<&'a [u8]> for HttpMethod<'a>
impl<'a> From<&'a [u8]> for HttpMethod<'a>
Source§impl<'a> From<&'a str> for HttpMethod<'a>
impl<'a> From<&'a str> for HttpMethod<'a>
Source§impl<'a> From<String> for HttpMethod<'a>
impl<'a> From<String> for HttpMethod<'a>
Source§impl<'a> PartialEq for HttpMethod<'a>
impl<'a> PartialEq for HttpMethod<'a>
impl<'a> StructuralPartialEq for HttpMethod<'a>
Auto Trait Implementations§
impl<'a> Freeze for HttpMethod<'a>
impl<'a> RefUnwindSafe for HttpMethod<'a>
impl<'a> Send for HttpMethod<'a>
impl<'a> Sync for HttpMethod<'a>
impl<'a> Unpin for HttpMethod<'a>
impl<'a> UnwindSafe for HttpMethod<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes