Struct repo_backup::Repo
[−]
[src]
pub struct Repo {
pub owner: String,
pub name: String,
pub provider: String,
pub url: String,
}A repository.
Fields
owner: String
The repository's owner.
name: String
The name of the repository.
provider: String
Which provider this repository was retrieved from.
url: String
A URL which can be used when downloading the repo.
Methods
impl Repo[src]
fn full_name(&self) -> String[src]
Get the repository's canonical name in $provider/$owner/$name form
(e.g. github/Michael-F-Bryan/repo-backup).
Trait Implementations
impl Debug for Repo[src]
impl Clone for Repo[src]
fn clone(&self) -> Repo[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more