Trait ApiConfigTrait

Source
pub trait ApiConfigTrait {
    // Required methods
    fn headers(&self) -> HeaderMap;
    fn url(&self, path: &str) -> String;
    fn api_key(&self) -> &Option<SecretString>;
}

Required Methods§

Source

fn headers(&self) -> HeaderMap

Source

fn url(&self, path: &str) -> String

Source

fn api_key(&self) -> &Option<SecretString>

Implementors§