Struct headers::SecWebsocketKey
source · pub struct SecWebsocketKey(pub(super) HeaderValue);
Expand description
The Sec-Websocket-Key
header.
Tuple Fields§
§0: HeaderValue
Trait Implementations§
source§impl Clone for SecWebsocketKey
impl Clone for SecWebsocketKey
source§fn clone(&self) -> SecWebsocketKey
fn clone(&self) -> SecWebsocketKey
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 Debug for SecWebsocketKey
impl Debug for SecWebsocketKey
source§impl From<SecWebsocketKey> for SecWebsocketAccept
impl From<SecWebsocketKey> for SecWebsocketAccept
source§fn from(key: SecWebsocketKey) -> SecWebsocketAccept
fn from(key: SecWebsocketKey) -> SecWebsocketAccept
Converts to this type from the input type.
source§impl Hash for SecWebsocketKey
impl Hash for SecWebsocketKey
source§impl Header for SecWebsocketKey
impl Header for SecWebsocketKey
source§impl PartialEq for SecWebsocketKey
impl PartialEq for SecWebsocketKey
source§fn eq(&self, other: &SecWebsocketKey) -> bool
fn eq(&self, other: &SecWebsocketKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SecWebsocketKey
impl StructuralPartialEq for SecWebsocketKey
Auto Trait Implementations§
impl !Freeze for SecWebsocketKey
impl RefUnwindSafe for SecWebsocketKey
impl Send for SecWebsocketKey
impl Sync for SecWebsocketKey
impl Unpin for SecWebsocketKey
impl UnwindSafe for SecWebsocketKey
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