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: RepositoryId
node_id: String
name: String
full_name: String
owner: User
private: Option<bool>
html_url: Url
description: Option<String>
fork: bool
url: Url
archive_url: Url
assignees_url: Url
blobs_url: Url
branches_url: Url
collaborators_url: Url
comments_url: Url
commits_url: Url
compare_url: Url
contents_url: Url
contributors_url: Url
deployments_url: Url
downloads_url: Url
events_url: Url
forks_url: Url
git_commits_url: Url
git_refs_url: Url
git_url: Option<Url>
issue_comment_url: Url
issue_events_url: Url
issues_url: Url
keys_url: Url
labels_url: Url
languages_url: Url
merges_url: Url
milestones_url: Url
notifications_url: Url
pulls_url: Url
releases_url: Url
ssh_url: Option<String>
stargazers_url: Url
statuses_url: Url
subscribers_url: Url
subscription_url: Url
teams_url: Url
trees_url: Url
clone_url: Option<Url>
mirror_url: Option<Url>
hooks_url: Url
svn_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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more