[][src]Struct github_rs::gists::get::GistsId

pub struct GistsId<'g> { /* fields omitted */ }

Methods

impl<'g> GistsId<'g>[src]

pub fn star(self) -> GistsIdStar<'g>[src]

pub fn forks(self) -> GistsIdForks<'g>[src]

pub fn commits(self, commits_str: &str) -> GistsIdCommits<'g>[src]

pub fn sha(self, sha_str: &str) -> GistsIdSha<'g>[src]

Trait Implementations

impl<'a> Executor for GistsId<'a>[src]

fn execute<T>(self) -> Result<(HeaderMap, StatusCode, Option<T>)> where
    T: DeserializeOwned
[src]

Execute the query by sending the built up request to GitHub. The value returned is either an error or the Status Code and Json after it has been deserialized. Please take a look at the GitHub documentation to see what value you should receive back for good or bad requests.

impl<'g> From<Gists<'g>> for GistsId<'g>[src]

impl<'g> From<GistsId<'g>> for GistsIdCommits<'g>[src]

impl<'g> From<GistsId<'g>> for GistsIdSha<'g>[src]

impl<'g> From<GistsId<'g>> for GistsIdStar<'g>[src]

impl<'g> From<GistsId<'g>> for GistsIdForks<'g>[src]

Auto Trait Implementations

impl<'g> !Send for GistsId<'g>

impl<'g> !Sync for GistsId<'g>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T