Enum apiai::lang::Language [] [src]

pub enum Language {
    BrazilianPortuguese,
    ChineseCantonese,
    ChineseSimplified,
    ChineseTraditional,
    English,
    Dutch,
    French,
    German,
    Italian,
    Japanese,
    Korean,
    Portuguese,
    Russian,
    Spanish,
    Ukranian,
}

Enum defines API.ai supported languages and their text values used on the server

Variants

Methods

impl Language
[src]

This function can be called by a language enum instance to get the associated string for use inside the api

Trait Implementations

impl PartialEq for Language
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Serialize for Language
[src]

Serialize this value into the given Serde serializer. Read more

impl Default for Language
[src]

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

impl Debug for Language
[src]

Formats the value using the given formatter.

impl Deserialize for Language
[src]

Deserialize this value from the given Serde deserializer. Read more