Struct ruroonga_client::URIBase
[−]
[src]
pub struct URIBase<'a> { /* fields omitted */ }
Methods
impl<'a> URIBase<'a>
[src]
fn new() -> URIBase<'a>
Create URIBase struct.
Default values are:
base_uri: "localhost"
port: 10041
fn base_uri<T>(self, base_uri: T) -> URIBase<'a> where
T: Into<Cow<'a, str>>,
T: Into<Cow<'a, str>>,
Set base to replace default value with specified value.
fn port(self, port: u16) -> URIBase<'a>
Set port number to replace default value with specified value.
fn build(self) -> String
Build and get base uri.
Trait Implementations
impl<'a> Clone for URIBase<'a>
[src]
fn clone(&self) -> URIBase<'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