Struct hubcaps::gists::Gists
[−]
[src]
pub struct Gists<'a> { /* fields omitted */ }
pub struct Gists<'a> { /* fields omitted */ }
impl<'a> Gists<'a>
[src]fn new(github: &'a Github<'a>) -> Gists<'a>
fn star(&self, id: &str) -> Result<()>
fn unstar(&self, id: &str) -> Result<()>
fn fork(&self, id: &str) -> Result<Gist>
fn forks(&self, id: &str) -> Result<Vec<GistFork>>
fn delete(&self, id: &str) -> Result<()>
fn get(&self, id: &str) -> Result<Gist>
fn getrev(&self, id: &str, sha: &str) -> Result<Gist>
fn list(&self, options: &GistListOptions) -> Result<Vec<Gist>>
fn public(&self) -> Result<Vec<Gist>>
fn starred(&self) -> Result<Vec<Gist>>
fn create(&self, gist: &GistOptions) -> Result<Gist>