[][src]Struct octocrab::models::Repository

#[non_exhaustive]pub struct Repository {
    pub id: u64,
    pub node_id: String,
    pub name: String,
    pub full_name: String,
    pub owner: User,
    pub private: Option<bool>,
    pub html_url: Url,
    pub description: Option<String>,
    pub fork: bool,
    pub url: Url,
    pub archive_url: Url,
    pub assignees_url: Url,
    pub blobs_url: Url,
    pub branches_url: Url,
    pub collaborators_url: Url,
    pub comments_url: Url,
    pub commits_url: Url,
    pub compare_url: Url,
    pub contents_url: Url,
    pub contributors_url: Url,
    pub deployments_url: Url,
    pub downloads_url: Url,
    pub events_url: Url,
    pub forks_url: Url,
    pub git_commits_url: Url,
    pub git_refs_url: Url,
    pub git_tags_url: Url,
    pub git_url: Option<Url>,
    pub issue_comment_url: Url,
    pub issue_events_url: Url,
    pub issues_url: Url,
    pub keys_url: Url,
    pub labels_url: Url,
    pub languages_url: Url,
    pub merges_url: Url,
    pub milestones_url: Url,
    pub notifications_url: Url,
    pub pulls_url: Url,
    pub releases_url: Url,
    pub ssh_url: Option<String>,
    pub stargazers_url: Url,
    pub statuses_url: Url,
    pub subscribers_url: Url,
    pub subscription_url: Url,
    pub tags_url: Url,
    pub teams_url: Url,
    pub trees_url: Url,
    pub clone_url: Option<Url>,
    pub mirror_url: Option<Url>,
    pub hooks_url: Url,
    pub svn_url: Option<Url>,
    pub homepage: Option<String>,
    pub language: Option<Value>,
    pub forks_count: Option<u32>,
    pub stargazers_count: Option<u32>,
    pub watchers_count: Option<u32>,
    pub size: Option<u32>,
    pub default_branch: Option<String>,
    pub open_issues_count: Option<u32>,
    pub is_template: Option<bool>,
    pub topics: Option<Vec<String>>,
    pub has_issues: Option<bool>,
    pub has_projects: Option<bool>,
    pub has_wiki: Option<bool>,
    pub has_pages: Option<bool>,
    pub has_downloads: Option<bool>,
    pub archived: Option<bool>,
    pub disabled: Option<bool>,
    pub visibility: Option<String>,
    pub pushed_at: Option<DateTime<Utc>>,
    pub created_at: Option<DateTime<Utc>>,
    pub updated_at: Option<DateTime<Utc>>,
    pub permissions: Option<Permissions>,
    pub allow_rebase_merge: Option<bool>,
    pub template_repository: Option<Box<Repository>>,
    pub allow_squash_merge: Option<bool>,
    pub allow_merge_commit: Option<bool>,
    pub subscribers_count: Option<i64>,
    pub network_count: Option<i64>,
    pub license: Option<License>,
}

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
id: u64node_id: Stringname: Stringfull_name: Stringowner: Userprivate: Option<bool>html_url: Urldescription: Option<String>fork: boolurl: Urlarchive_url: Urlassignees_url: Urlblobs_url: Urlbranches_url: Urlcollaborators_url: Urlcomments_url: Urlcommits_url: Urlcompare_url: Urlcontents_url: Urlcontributors_url: Urldeployments_url: Urldownloads_url: Urlevents_url: Urlforks_url: Urlgit_commits_url: Urlgit_refs_url: Urlgit_tags_url: Urlgit_url: Option<Url>issue_comment_url: Urlissue_events_url: Urlissues_url: Urlkeys_url: Urllabels_url: Urllanguages_url: Urlmerges_url: Urlmilestones_url: Urlnotifications_url: Urlpulls_url: Urlreleases_url: Urlssh_url: Option<String>stargazers_url: Urlstatuses_url: Urlsubscribers_url: Urlsubscription_url: Urltags_url: Urlteams_url: Urltrees_url: Urlclone_url: Option<Url>mirror_url: Option<Url>hooks_url: Urlsvn_url: Option<Url>homepage: Option<String>language: Option<Value>forks_count: Option<u32>stargazers_count: Option<u32>watchers_count: Option<u32>size: Option<u32>default_branch: Option<String>open_issues_count: Option<u32>is_template: Option<bool>topics: Option<Vec<String>>has_issues: Option<bool>has_projects: Option<bool>has_wiki: Option<bool>has_pages: Option<bool>has_downloads: Option<bool>archived: Option<bool>disabled: Option<bool>visibility: Option<String>pushed_at: Option<DateTime<Utc>>created_at: Option<DateTime<Utc>>updated_at: Option<DateTime<Utc>>permissions: Option<Permissions>allow_rebase_merge: Option<bool>template_repository: Option<Box<Repository>>allow_squash_merge: Option<bool>allow_merge_commit: Option<bool>subscribers_count: Option<i64>network_count: Option<i64>license: Option<License>

Trait Implementations

impl Clone for Repository[src]

impl Debug for Repository[src]

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

impl PartialEq<Repository> for Repository[src]

impl Serialize for Repository[src]

impl StructuralPartialEq for Repository[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> 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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.