[][src]Struct githubapi::GitHubApi

pub struct GitHubApi { /* fields omitted */ }

Methods

impl GitHubApi[src]

Implement basic functionality.

pub fn new(username: &str, password: &str) -> Self[src]

impl GitHubApi[src]

Implement rate limits.

pub fn get_rate_limit(
    &self
) -> Result<GitHubApiResult<RateLimitResponse>, GitHubApiError>
[src]

Gets rate limit information.

impl GitHubApi[src]

pub fn get_license(
    &self,
    owner: &str,
    repository: &str
) -> Result<GitHubApiResult<LicenseResponse>, GitHubApiError>
[src]

Gets the page.

impl GitHubApi[src]

pub fn get_tags_page(
    &self,
    owner: &str,
    repository: &str,
    page: u64
) -> Result<GitHubApiResult<Vec<TagsResponse>>, GitHubApiError>
[src]

Gets a single page.

Important traits for TagPaginator<'a>
pub fn get_tags(&self, owner: &str, repository: &str) -> TagPaginator[src]

Creates a paginator.

impl GitHubApi[src]

pub fn get_releases_page(
    &self,
    owner: &str,
    repository: &str,
    page: u64
) -> Result<GitHubApiResult<Vec<ReleasesResponse>>, GitHubApiError>
[src]

Gets a single page.

Important traits for ReleasePaginator<'a>
pub fn get_releases(&self, owner: &str, repository: &str) -> ReleasePaginator[src]

Creates a paginator.

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err