Struct repo_backup::GitHub [−][src]
pub struct GitHub { /* fields omitted */ }
An interface to the repositories stored on github.
Methods
impl GitHub
[src]
impl GitHub
pub fn with_config(cfg: GithubConfig) -> GitHub
[src]
pub fn with_config(cfg: GithubConfig) -> GitHub
Create a new GitHub
with the provided config.
Trait Implementations
impl Clone for GitHub
[src]
impl Clone for GitHub
fn clone(&self) -> GitHub
[src]
fn clone(&self) -> GitHub
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Provider for GitHub
[src]
impl Provider for GitHub
fn name(&self) -> &str
[src]
fn name(&self) -> &str
The Provider
's name.
fn repositories(&self) -> Result<Vec<Repo>, Error>
[src]
fn repositories(&self) -> Result<Vec<Repo>, Error>
Get a list of all the available repositories from this source.
impl Debug for GitHub
[src]
impl Debug for GitHub