Struct octorust::types::Repository
source · 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: Option<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: String
§archived: bool
§assignees_url: String
§blobs_url: String
§branches_url: String
§clone_url: String
§collaborators_url: String
§comments_url: String
§commits_url: String
§compare_url: String
§contents_url: String
§contributors_url: String
§created_at: Option<DateTime<Utc>>
§default_branch: String
§delete_branch_on_merge: bool
A git repository
deployments_url: String
§description: String
§disabled: bool
§downloads_url: String
§events_url: String
§fork: bool
§forks: i64
§forks_count: i64
§forks_url: String
§full_name: String
§git_commits_url: String
§git_refs_url: String
§git_url: String
§has_downloads: bool
§has_issues: bool
§has_pages: bool
§has_projects: bool
§has_wiki: bool
§homepage: String
§hooks_url: String
§html_url: String
§id: i64
§is_template: bool
A git repository
issue_comment_url: String
§issue_events_url: String
§issues_url: String
§keys_url: String
§labels_url: String
§language: String
§languages_url: String
§license: Option<LicenseSimple>
§master_branch: String
§merges_url: String
§milestones_url: String
§mirror_url: String
§name: String
§network_count: i64
A git repository
node_id: String
§notifications_url: String
§open_issues: i64
§open_issues_count: i64
§organization: Option<SimpleUser>
§owner: Option<SimpleUser>
Simple User
permissions: Option<RepositoryPermissions>
A git repository
private: bool
§pulls_url: String
§pushed_at: Option<DateTime<Utc>>
§releases_url: String
§size: i64
§ssh_url: String
§stargazers_count: i64
§stargazers_url: String
§starred_at: String
§statuses_url: String
§subscribers_count: i64
A git repository
subscribers_url: String
§subscription_url: String
§svn_url: String
§teams_url: String
§temp_clone_token: String
§template_repository: Option<TemplateRepository>
§topics: Vec<String>
A git repository
trees_url: String
§updated_at: Option<DateTime<Utc>>
§url: String
§visibility: String
§watchers: i64
§watchers_count: i64
Trait Implementations§
source§impl Clone for Repository
impl Clone for Repository
source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Repository
impl Debug for Repository
source§impl<'de> Deserialize<'de> for Repository
impl<'de> Deserialize<'de> for Repository
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for Repository
impl JsonSchema for Repository
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<Repository> for Repository
impl PartialEq<Repository> for Repository
source§fn eq(&self, other: &Repository) -> bool
fn eq(&self, other: &Repository) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Repository
impl Serialize for Repository
impl StructuralPartialEq for Repository
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more