[][src]Trait text_translator::ApiKey

pub trait ApiKey<'a>: Api + Sized {
    fn set_set(&mut self, key: &'a str);
fn get_key(&self) -> Option<&'a str>; }

Extends Api, where the API needs to have an API Key.

Required methods

fn set_set(&mut self, key: &'a str)

fn get_key(&self) -> Option<&'a str>

Loading content...

Implementors

impl<'a> ApiKey<'a> for Yandex<'a>[src]

Loading content...