Struct repo_backup::Repo[][src]

pub struct Repo {
    pub owner: String,
    pub name: String,
    pub provider: String,
    pub url: String,
}

A repository.

Fields

The repository's owner.

The name of the repository.

Which provider this repository was retrieved from.

A URL which can be used when downloading the repo.

Methods

impl Repo
[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]

Formats the value using the given formatter. Read more

impl Clone for Repo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Repo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Repo

impl Sync for Repo