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]

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

[src]

Formats the value using the given formatter.

impl Clone for Repo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Repo
[src]

[src]

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

[src]

This method tests for !=.