Struct repo_backup::Repo [−][src]
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]
impl Repo
pub fn full_name(&self) -> String
[src]
pub fn full_name(&self) -> String
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 Debug for Repo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Repo
[src]
impl Clone for Repo
fn clone(&self) -> Repo
[src]
fn clone(&self) -> Repo
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 PartialEq for Repo
[src]
impl PartialEq for Repo