Struct tendermint_rpc::client::http::HttpClientUrl
source · pub struct HttpClientUrl(/* private fields */);Expand description
A URL limited to use with HTTP clients.
Facilitates useful type conversions and inferences.
Trait Implementations§
source§impl Clone for HttpClientUrl
impl Clone for HttpClientUrl
source§fn clone(&self) -> HttpClientUrl
fn clone(&self) -> HttpClientUrl
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 HttpClientUrl
impl Debug for HttpClientUrl
source§impl From<HttpClientUrl> for Url
impl From<HttpClientUrl> for Url
source§fn from(url: HttpClientUrl) -> Self
fn from(url: HttpClientUrl) -> Self
Converts to this type from the input type.
source§impl From<HttpClientUrl> for Url
impl From<HttpClientUrl> for Url
source§fn from(url: HttpClientUrl) -> Self
fn from(url: HttpClientUrl) -> Self
Converts to this type from the input type.
source§impl FromStr for HttpClientUrl
impl FromStr for HttpClientUrl
source§impl Hash for HttpClientUrl
impl Hash for HttpClientUrl
source§impl Ord for HttpClientUrl
impl Ord for HttpClientUrl
source§fn cmp(&self, other: &HttpClientUrl) -> Ordering
fn cmp(&self, other: &HttpClientUrl) -> 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 HttpClientUrl
impl PartialEq for HttpClientUrl
source§fn eq(&self, other: &HttpClientUrl) -> bool
fn eq(&self, other: &HttpClientUrl) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for HttpClientUrl
impl PartialOrd for HttpClientUrl
source§fn partial_cmp(&self, other: &HttpClientUrl) -> Option<Ordering>
fn partial_cmp(&self, other: &HttpClientUrl) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl TryFrom<&str> for HttpClientUrl
impl TryFrom<&str> for HttpClientUrl
source§impl TryFrom<Address> for HttpClientUrl
impl TryFrom<Address> for HttpClientUrl
source§impl TryFrom<Url> for HttpClientUrl
impl TryFrom<Url> for HttpClientUrl
impl Eq for HttpClientUrl
impl StructuralPartialEq for HttpClientUrl
Auto Trait Implementations§
impl Freeze for HttpClientUrl
impl RefUnwindSafe for HttpClientUrl
impl Send for HttpClientUrl
impl Sync for HttpClientUrl
impl Unpin for HttpClientUrl
impl UnwindSafe for HttpClientUrl
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<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.