pub trait BaseSession {
// Required methods
fn token(&self) -> Result<&str>;
fn base_uri(&self) -> &str;
fn login(&mut self) -> Result<()>;
}Expand description
Trait implementing function necessary to establish a session (getting a authenticating token).