Struct annis::Client[][src]

pub struct Client {
    pub token: String,
}

A client to make request with Service.

Examples

let client = Client::set_token("access_token");
let res = client.call(annis::works())?;

Fields

Methods

impl Client
[src]

Trait Implementations

impl Debug for Client
[src]

Formats the value using the given formatter. Read more

impl Clone for Client
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Client

impl Sync for Client