Implementations
sourceimpl<C: Clone + Connect + 'static> Gists<C>
impl<C: Clone + Connect + 'static> Gists<C>
pub fn star(&self, id: &str) -> Future<()>
pub fn unstar(&self, id: &str) -> Future<()>
pub fn fork(&self, id: &str) -> Future<Gist>
pub fn forks(&self, id: &str) -> Future<Vec<GistFork>>
pub fn delete(&self, id: &str) -> Future<()>
pub fn get(&self, id: &str) -> Future<Gist>
pub fn getrev(&self, id: &str, sha: &str) -> Future<Gist>
pub fn list(&self, options: &GistListOptions) -> Future<Vec<Gist>>
pub fn public(&self) -> Future<Vec<Gist>>
pub fn starred(&self) -> Future<Vec<Gist>>
pub fn create(&self, gist: &GistOptions) -> Future<Gist>
pub fn edit(&self, id: &str, gist: &GistOptions) -> Future<Gist>
Auto Trait Implementations
impl<C> !RefUnwindSafe for Gists<C>
impl<C> Send for Gists<C>
impl<C> Sync for Gists<C>
impl<C> Unpin for Gists<C>
impl<C> !UnwindSafe for Gists<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more