Struct apiai::client::ApiAIClient [] [src]

pub struct ApiAIClient {
    pub version: String,
    pub access_token: String,
    pub base_url: String,
}

ApiAIClient is used to coordinate calls to the API.ai REST services.

APIAIClient calls the API.AI REST service using hyper. The API version and base url can be configured and an access token for calling the API must be provided when creating the struct.

Fields

Methods

impl ApiAIClient
[src]

Carry out an API.ai query

Trait Implementations

impl Default for ApiAIClient
[src]

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