Struct elastic_requests::Url
[−]
[src]
pub struct Url<'a>(_);
Methods from Deref<Target=Cow<'a, str>>
fn into_owned(self) -> B::Owned
1.0.0
Extracts the owned data.
Clones the data if it is not already owned.
Examples
use std::borrow::Cow; let cow: Cow<[_]> = Cow::Owned(vec![1, 2, 3]); let hello = cow.into_owned(); assert_eq!(vec![1, 2, 3], hello);
Trait Implementations
impl<'a> Debug for Url<'a>
[src]
impl<'a> PartialEq for Url<'a>
[src]
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> Clone for Url<'a>
[src]
fn clone(&self) -> Url<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more