Struct githuber::Githuber [−][src]
pub struct Githuber { pub http_client: HttpClient, }
Fields
http_client: HttpClient
Implementations
impl Githuber
[src]
impl Githuber
[src]pub const API_BASE_URL: &'static str
[src]
pub fn new(oauth_token: impl AsRef<str>) -> Self
[src]
pub async fn download(
&self,
url: impl AsRef<str>
) -> Result<Response<IsahcBody>, Error>
[src]
&self,
url: impl AsRef<str>
) -> Result<Response<IsahcBody>, Error>
pub async fn send<B>(
&self,
request: impl GithubApi<B>
) -> Result<Response<IsahcBody>, Error> where
B: Into<IsahcBody>,
[src]
&self,
request: impl GithubApi<B>
) -> Result<Response<IsahcBody>, Error> where
B: Into<IsahcBody>,
pub fn send_sync<B>(
&self,
request: impl GithubApi<B>
) -> Result<Response<IsahcBodySync>, Error> where
B: Into<IsahcBodySync>,
[src]
&self,
request: impl GithubApi<B>
) -> Result<Response<IsahcBodySync>, Error> where
B: Into<IsahcBodySync>,
pub async fn send_with_pager<B>(
&self,
request: impl GithubApi<B>,
pager: &mut Pager
) -> Result<Response<IsahcBody>, Error> where
B: Into<IsahcBody>,
[src]
&self,
request: impl GithubApi<B>,
pager: &mut Pager
) -> Result<Response<IsahcBody>, Error> where
B: Into<IsahcBody>,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Githuber
impl !RefUnwindSafe for Githuber
impl !UnwindSafe for Githuber
impl !UnwindSafe for Githuber
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,