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

#[non_exhaustive]
pub struct Repository {
Show fields pub id: RepositoryId, 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)

This struct is marked as 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: RepositoryIdnode_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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.