Struct ruroonga_client::URIBase [] [src]

pub struct URIBase<'a> {
    // some 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>>

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> Debug for URIBase<'a>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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

impl<'a> Default for URIBase<'a>
[src]

fn default() -> URIBase<'a>

Returns the "default value" for a type. Read more