Struct wikibase::Configuration [] [src]

pub struct Configuration { /* fields omitted */ }

Configurations for Wikibase RS

The Configuration struct holds all the parameters that can can be customized. The api_url is the api endpoint or a particular Wikibase instance. It defaults to Wikidata.

Methods

impl Configuration
[src]

[src]

[src]

[src]

[src]

Returns the complete user agent that is used for requests

The full user agent is a combination of the user agent prefix, that is set by a library and the Wikibase RS user agent. For example: my_bot/0.2 Wikibase-RS/1.0.2.

[src]

Trait Implementations

impl Debug for Configuration
[src]

[src]

Formats the value using the given formatter.