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
BrazilianPortuguese
ChineseCantonese
ChineseSimplified
ChineseTraditional
English
Dutch
French
German
Italian
Japanese
Korean
Portuguese
Russian
Spanish
Ukranian
Methods
impl Language
[src]
fn value(&self) -> &'static str
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]
fn eq(&self, __arg_0: &Language) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Serialize for Language
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer
Serialize this value into the given Serde serializer. Read more
impl Default for Language
[src]
impl Debug for Language
[src]
impl Deserialize for Language
[src]
fn deserialize<D>(deserializer: D) -> Result<Language, D::Error> where D: Deserializer
Deserialize this value from the given Serde deserializer. Read more