Struct octorust::types::Repository[][src]

pub struct Repository {
Show 89 fields pub allow_auto_merge: bool, pub allow_merge_commit: bool, pub allow_rebase_merge: bool, pub allow_squash_merge: bool, pub archive_url: String, pub archived: bool, 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 created_at: Option<DateTime<Utc>>, pub default_branch: String, pub delete_branch_on_merge: bool, pub deployments_url: String, pub description: String, pub disabled: bool, pub downloads_url: String, pub events_url: String, pub fork: bool, pub forks: i64, pub forks_count: i64, pub forks_url: String, pub full_name: String, pub git_commits_url: String, pub git_refs_url: String, pub git_tags_url: String, pub git_url: String, pub has_downloads: bool, pub has_issues: bool, pub has_pages: bool, pub has_projects: bool, pub has_wiki: bool, pub homepage: String, pub hooks_url: String, pub html_url: String, pub id: i64, pub is_template: bool, pub issue_comment_url: String, pub issue_events_url: String, pub issues_url: String, pub keys_url: String, pub labels_url: String, pub language: String, pub languages_url: String, pub license: LicenseSimple, pub master_branch: String, pub merges_url: String, pub milestones_url: String, pub mirror_url: String, pub name: String, pub network_count: i64, pub node_id: String, pub notifications_url: String, pub open_issues: i64, pub open_issues_count: i64, pub organization: Option<SimpleUser>, pub owner: Option<SimpleUser>, pub permissions: Option<RepositoryPermissions>, pub private: bool, pub pulls_url: String, pub pushed_at: Option<DateTime<Utc>>, pub releases_url: String, pub size: i64, pub ssh_url: String, pub stargazers_count: i64, pub stargazers_url: String, pub starred_at: String, pub statuses_url: String, pub subscribers_count: i64, pub subscribers_url: String, pub subscription_url: String, pub svn_url: String, pub tags_url: String, pub teams_url: String, pub temp_clone_token: String, pub template_repository: Option<TemplateRepository>, pub topics: Vec<String>, pub trees_url: String, pub updated_at: Option<DateTime<Utc>>, pub url: String, pub visibility: String, pub watchers: i64, pub watchers_count: i64,
}
Expand description

A git repository

Fields

allow_auto_merge: bool

A git repository

allow_merge_commit: bool

A git repository

allow_rebase_merge: bool

A git repository

allow_squash_merge: bool

A git repository

archive_url: Stringarchived: boolassignees_url: Stringblobs_url: Stringbranches_url: Stringclone_url: Stringcollaborators_url: Stringcomments_url: Stringcommits_url: Stringcompare_url: Stringcontents_url: Stringcontributors_url: Stringcreated_at: Option<DateTime<Utc>>default_branch: Stringdelete_branch_on_merge: bool

A git repository

deployments_url: Stringdescription: Stringdisabled: booldownloads_url: Stringevents_url: Stringfork: boolforks: i64forks_count: i64forks_url: Stringfull_name: Stringgit_commits_url: Stringgit_refs_url: Stringgit_tags_url: Stringgit_url: Stringhas_downloads: boolhas_issues: boolhas_pages: boolhas_projects: boolhas_wiki: boolhomepage: Stringhooks_url: Stringhtml_url: Stringid: i64is_template: bool

A git repository

issue_comment_url: Stringissue_events_url: Stringissues_url: Stringkeys_url: Stringlabels_url: Stringlanguage: Stringlanguages_url: Stringlicense: LicenseSimple

License Simple

master_branch: Stringmerges_url: Stringmilestones_url: Stringmirror_url: Stringname: Stringnetwork_count: i64

A git repository

node_id: Stringnotifications_url: Stringopen_issues: i64open_issues_count: i64organization: Option<SimpleUser>

Simple User

owner: Option<SimpleUser>

Simple User

permissions: Option<RepositoryPermissions>

A git repository

private: boolpulls_url: Stringpushed_at: Option<DateTime<Utc>>releases_url: Stringsize: i64ssh_url: Stringstargazers_count: i64stargazers_url: Stringstarred_at: Stringstatuses_url: Stringsubscribers_count: i64

A git repository

subscribers_url: Stringsubscription_url: Stringsvn_url: Stringtags_url: Stringteams_url: Stringtemp_clone_token: Stringtemplate_repository: Option<TemplateRepository>topics: Vec<String>

A git repository

trees_url: Stringupdated_at: Option<DateTime<Utc>>url: Stringvisibility: Stringwatchers: i64watchers_count: i64

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

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. 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

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.