Struct ruroonga_client::RequestURI
[−]
[src]
pub struct RequestURI<'a> { // some fields omitted }
Methods
impl<'a> RequestURI<'a>
[src]
fn new<T>(base: T, query: T) -> RequestURI<'a> where T: Into<Cow<'a, str>>
Create RequestURI type resource.
fn url(self) -> String
Construct requesting URL from RequestURI type resource.
Examples
use ruroonga_client; use ruroonga_client::builtin::command_query::CommandQuery; let uri_base = ruroonga_client::URIBase::new().build(); let mut command = CommandQuery::new("select"); command.set_argument(vec![("table", "Sites")]); let url = ruroonga_client::RequestURI::new(uri_base, command.encode()).url();
Trait Implementations
impl<'a> Clone for RequestURI<'a>
[src]
fn clone(&self) -> RequestURI<'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