Trait codeforces_api::requests::CFAPIRequestable[][src]

pub trait CFAPIRequestable {
    fn query_params(&self) -> Vec<(&'static str, String)>;
fn method_name(&self) -> &'static str;
fn get(
        &self,
        api_key: &String,
        api_secret: &String
    ) -> Result<CFResult, Error>;
fn get_raw(
        &self,
        api_key: &String,
        api_secret: &String
    ) -> Result<String, Error>; }

Required methods

fn query_params(&self) -> Vec<(&'static str, String)>[src]

fn method_name(&self) -> &'static str[src]

fn get(&self, api_key: &String, api_secret: &String) -> Result<CFResult, Error>[src]

fn get_raw(
    &self,
    api_key: &String,
    api_secret: &String
) -> Result<String, Error>
[src]

Loading content...

Implementors

impl CFAPIRequestable for CFBlogEntryCommand[src]

impl CFAPIRequestable for CFContestCommand[src]

impl CFAPIRequestable for CFProblemsetCommand[src]

impl CFAPIRequestable for CFUserCommand[src]

impl CFAPIRequestable for CFRecentActionsCommand[src]

Loading content...