pub trait Service {
    type Output;

    fn new_request(
        &self,
        method: Option<HttpMethods>,
        url: &str,
        user_auth: Option<(&str, &str)>,
        body: Option<Value>
    ) -> Result<Self::Output, String>; fn invoke_request(&self, request: Self::Output) -> Result<Value, String>; }

Required Associated Types

Required Methods

Implementors