Struct elastic::client::requests::Url
[−]
pub struct Url<'a>(_);
A wrapper around an owned or borrowed url.
Methods from Deref<Target = Cow<'a, str>>
Trait Implementations
impl<'a> Deref for Url<'a>
type Target = Cow<'a, str>
The resulting type after dereferencing.
fn deref(&self) -> &Cow<'a, str>
Dereferences the value.
impl<'a> PartialEq<Url<'a>> for Url<'a>
fn eq(&self, __arg_0: &Url<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Url<'a>) -> bool
This method tests for !=
.
impl<'a> From<&'a str> for Url<'a>
impl<'a> From<String> for Url<'a>
impl<'a> Clone for Url<'a>
fn clone(&self) -> Url<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more