Trait gr::api_traits::UserInfo

source ·
pub trait UserInfo {
    // Required method
    fn get(&self) -> Result<Member>;
}

Required Methods§

source

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

Get the user’s information from the remote API.

Implementors§

source§

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

source§

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