pub struct WebSocketClientUrl(/* private fields */);Expand description
A URL limited to use with WebSocket clients.
Facilitates useful type conversions and inferences.
Trait Implementations§
Source§impl Clone for WebSocketClientUrl
impl Clone for WebSocketClientUrl
Source§fn clone(&self) -> WebSocketClientUrl
fn clone(&self) -> WebSocketClientUrl
Returns a duplicate 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 WebSocketClientUrl
impl Debug for WebSocketClientUrl
Source§impl<'de> Deserialize<'de> for WebSocketClientUrl
impl<'de> Deserialize<'de> for WebSocketClientUrl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WebSocketClientUrl
impl Display for WebSocketClientUrl
Source§impl From<WebSocketClientUrl> for Url
impl From<WebSocketClientUrl> for Url
Source§fn from(url: WebSocketClientUrl) -> Self
fn from(url: WebSocketClientUrl) -> Self
Converts to this type from the input type.
Source§impl FromStr for WebSocketClientUrl
impl FromStr for WebSocketClientUrl
Source§impl Hash for WebSocketClientUrl
impl Hash for WebSocketClientUrl
Source§impl Ord for WebSocketClientUrl
impl Ord for WebSocketClientUrl
Source§fn cmp(&self, other: &WebSocketClientUrl) -> Ordering
fn cmp(&self, other: &WebSocketClientUrl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WebSocketClientUrl
impl PartialEq for WebSocketClientUrl
Source§impl PartialOrd for WebSocketClientUrl
impl PartialOrd for WebSocketClientUrl
Source§impl Serialize for WebSocketClientUrl
impl Serialize for WebSocketClientUrl
Source§impl TryFrom<&str> for WebSocketClientUrl
impl TryFrom<&str> for WebSocketClientUrl
Source§impl TryFrom<Address> for WebSocketClientUrl
impl TryFrom<Address> for WebSocketClientUrl
Source§impl TryFrom<Url> for WebSocketClientUrl
impl TryFrom<Url> for WebSocketClientUrl
impl Eq for WebSocketClientUrl
impl StructuralPartialEq for WebSocketClientUrl
Auto Trait Implementations§
impl Freeze for WebSocketClientUrl
impl RefUnwindSafe for WebSocketClientUrl
impl Send for WebSocketClientUrl
impl Sync for WebSocketClientUrl
impl Unpin for WebSocketClientUrl
impl UnwindSafe for WebSocketClientUrl
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.