[][src]Struct github_types::Repository

pub struct Repository {
    pub id: u64,
    pub owner: User,
    pub name: String,
    pub full_name: String,
    pub description: Option<String>,
    pub private: bool,
    pub fork: bool,
    pub url: String,
    pub html_url: String,
    pub archive_url: String,
    pub assignees_url: String,
    pub blobs_url: String,
    pub branches_url: String,
    pub clone_url: String,
    pub collaborators_url: String,
    pub comments_url: String,
    pub commits_url: String,
    pub compare_url: String,
    pub contents_url: String,
    pub contributors_url: String,
    pub deployments_url: String,
    pub downloads_url: String,
    pub events_url: String,
    pub forks_url: String,
    pub git_commits_url: String,
    pub git_refs_url: String,
    pub git_tags_url: String,
    pub git_url: String,
    pub hooks_url: String,
    pub issue_comment_url: String,
    pub issue_events_url: String,
    pub issues_url: String,
    pub keys_url: String,
    pub labels_url: String,
    pub languages_url: String,
    pub merges_url: String,
    pub milestones_url: String,
    pub mirror_url: Option<String>,
    pub notifications_url: String,
    pub pulls_url: String,
    pub releases_url: String,
    pub ssh_url: String,
    pub stargazers_url: String,
    pub statuses_url: String,
    pub subscribers_url: String,
    pub subscription_url: String,
    pub svn_url: String,
    pub tags_url: String,
    pub teams_url: String,
    pub trees_url: String,
    pub homepage: Option<String>,
    pub language: Option<String>,
    pub forks_count: u64,
    pub stargazers_count: u64,
    pub watchers_count: u64,
    pub size: u64,
    pub default_branch: String,
    pub open_issues_count: u64,
    pub has_issues: bool,
    pub has_wiki: bool,
    pub has_pages: bool,
    pub has_downloads: bool,
    pub archived: bool,
    pub pushed_at: DateTime,
    pub created_at: DateTime,
    pub updated_at: DateTime,
}

A repository.

Fields

id: u64owner: Username: Stringfull_name: Stringdescription: Option<String>private: boolfork: boolurl: Stringhtml_url: Stringarchive_url: Stringassignees_url: Stringblobs_url: Stringbranches_url: Stringclone_url: Stringcollaborators_url: Stringcomments_url: Stringcommits_url: Stringcompare_url: Stringcontents_url: Stringcontributors_url: Stringdeployments_url: Stringdownloads_url: Stringevents_url: Stringforks_url: Stringgit_commits_url: Stringgit_refs_url: Stringgit_tags_url: Stringgit_url: Stringhooks_url: Stringissue_comment_url: Stringissue_events_url: Stringissues_url: Stringkeys_url: Stringlabels_url: Stringlanguages_url: Stringmerges_url: Stringmilestones_url: Stringmirror_url: Option<String>notifications_url: Stringpulls_url: Stringreleases_url: Stringssh_url: Stringstargazers_url: Stringstatuses_url: Stringsubscribers_url: Stringsubscription_url: Stringsvn_url: Stringtags_url: Stringteams_url: Stringtrees_url: Stringhomepage: Option<String>language: Option<String>forks_count: u64stargazers_count: u64watchers_count: u64size: u64default_branch: Stringopen_issues_count: u64has_issues: boolhas_wiki: boolhas_pages: boolhas_downloads: boolarchived: boolpushed_at: DateTimecreated_at: DateTimeupdated_at: DateTime

Trait Implementations

impl Eq for Repository[src]

impl PartialOrd<Repository> for Repository[src]

impl PartialEq<Repository> for Repository[src]

impl Clone for Repository[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for Repository[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Debug for Repository[src]

impl Hash for Repository[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'de> Deserialize<'de> for Repository[src]

Auto Trait Implementations

impl Send for Repository

impl Sync for Repository

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]