UserInfo

Trait UserInfo 

Source
pub trait UserInfo {
    // Required methods
    fn get_auth_user(&self) -> Result<Member>;
    fn get(&self, args: &UserCliArgs) -> Result<Member>;
}

Required Methods§

Source

fn get_auth_user(&self) -> Result<Member>

Get the user’s information from the remote API.

Source

fn get(&self, args: &UserCliArgs) -> Result<Member>

Implementors§

Source§

impl<R: HttpRunner<Response = HttpResponse>> UserInfo for Github<R>

Source§

impl<R: HttpRunner<Response = HttpResponse>> UserInfo for Gitlab<R>