pub struct RepositoryLite {Show 46 fields
pub archive_url: String,
pub assignees_url: String,
pub blobs_url: String,
pub branches_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 deployments_url: String,
pub description: Option<String>,
pub downloads_url: String,
pub events_url: String,
pub fork: bool,
pub forks_url: String,
pub full_name: String,
pub git_commits_url: String,
pub git_refs_url: String,
pub git_tags_url: String,
pub hooks_url: String,
pub html_url: String,
pub id: i64,
pub issue_comment_url: String,
pub issue_events_url: String,
pub issues_url: String,
pub keys_url: String,
pub labels_url: String,
pub languages_url: String,
pub merges_url: String,
pub milestones_url: String,
pub name: String,
pub node_id: String,
pub notifications_url: String,
pub owner: User,
pub private: bool,
pub pulls_url: String,
pub releases_url: String,
pub stargazers_url: String,
pub statuses_url: String,
pub subscribers_url: String,
pub subscription_url: String,
pub tags_url: String,
pub teams_url: String,
pub trees_url: String,
pub url: String,
}
Expand description
RepositoryLite
JSON schema
{
"title": "Repository Lite",
"type": "object",
"required": [
"archive_url",
"assignees_url",
"blobs_url",
"branches_url",
"collaborators_url",
"comments_url",
"commits_url",
"compare_url",
"contents_url",
"contributors_url",
"deployments_url",
"description",
"downloads_url",
"events_url",
"fork",
"forks_url",
"full_name",
"git_commits_url",
"git_refs_url",
"git_tags_url",
"hooks_url",
"html_url",
"id",
"issue_comment_url",
"issue_events_url",
"issues_url",
"keys_url",
"labels_url",
"languages_url",
"merges_url",
"milestones_url",
"name",
"node_id",
"notifications_url",
"owner",
"private",
"pulls_url",
"releases_url",
"stargazers_url",
"statuses_url",
"subscribers_url",
"subscription_url",
"tags_url",
"teams_url",
"trees_url",
"url"
],
"properties": {
"archive_url": {
"description": "A template for the API URL to download the repository as an archive.",
"type": "string",
"format": "uri-template"
},
"assignees_url": {
"description": "A template for the API URL to list the available assignees for issues in the repository.",
"type": "string",
"format": "uri-template"
},
"blobs_url": {
"description": "A template for the API URL to create or retrieve a raw Git blob in the repository.",
"type": "string",
"format": "uri-template"
},
"branches_url": {
"description": "A template for the API URL to get information about branches in the repository.",
"type": "string",
"format": "uri-template"
},
"collaborators_url": {
"description": "A template for the API URL to get information about collaborators of the repository.",
"type": "string",
"format": "uri-template"
},
"comments_url": {
"description": "A template for the API URL to get information about comments on the repository.",
"type": "string",
"format": "uri-template"
},
"commits_url": {
"description": "A template for the API URL to get information about commits on the repository.",
"type": "string",
"format": "uri-template"
},
"compare_url": {
"description": "A template for the API URL to compare two commits or refs.",
"type": "string",
"format": "uri-template"
},
"contents_url": {
"description": "A template for the API URL to get the contents of the repository.",
"type": "string",
"format": "uri-template"
},
"contributors_url": {
"description": "A template for the API URL to list the contributors to the repository.",
"type": "string",
"format": "uri"
},
"deployments_url": {
"description": "The API URL to list the deployments of the repository.",
"type": "string",
"format": "uri"
},
"description": {
"description": "The repository description.",
"type": [
"string",
"null"
]
},
"downloads_url": {
"description": "The API URL to list the downloads on the repository.",
"type": "string",
"format": "uri"
},
"events_url": {
"description": "The API URL to list the events of the repository.",
"type": "string",
"format": "uri"
},
"fork": {
"description": "Whether the repository is a fork.",
"type": "boolean"
},
"forks_url": {
"description": "The API URL to list the forks of the repository.",
"type": "string",
"format": "uri"
},
"full_name": {
"description": "The full, globally unique, name of the repository.",
"type": "string"
},
"git_commits_url": {
"description": "A template for the API URL to get information about Git commits of the repository.",
"type": "string",
"format": "uri-template"
},
"git_refs_url": {
"description": "A template for the API URL to get information about Git refs of the repository.",
"type": "string",
"format": "uri-template"
},
"git_tags_url": {
"description": "A template for the API URL to get information about Git tags of the repository.",
"type": "string",
"format": "uri-template"
},
"hooks_url": {
"description": "The API URL to list the hooks on the repository.",
"type": "string",
"format": "uri"
},
"html_url": {
"description": "The URL to view the repository on GitHub.com.",
"type": "string",
"format": "uri"
},
"id": {
"description": "Unique identifier of the repository",
"type": "integer"
},
"issue_comment_url": {
"description": "A template for the API URL to get information about issue comments on the repository.",
"type": "string",
"format": "uri-template"
},
"issue_events_url": {
"description": "A template for the API URL to get information about issue events on the repository.",
"type": "string",
"format": "uri-template"
},
"issues_url": {
"description": "A template for the API URL to get information about issues on the repository.",
"type": "string",
"format": "uri-template"
},
"keys_url": {
"description": "A template for the API URL to get information about deploy keys on the repository.",
"type": "string",
"format": "uri-template"
},
"labels_url": {
"description": "A template for the API URL to get information about labels of the repository.",
"type": "string",
"format": "uri-template"
},
"languages_url": {
"description": "The API URL to get information about the languages of the repository.",
"type": "string",
"format": "uri"
},
"merges_url": {
"description": "The API URL to merge branches in the repository.",
"type": "string",
"format": "uri"
},
"milestones_url": {
"description": "A template for the API URL to get information about milestones of the repository.",
"type": "string",
"format": "uri-template"
},
"name": {
"description": "The name of the repository.",
"type": "string"
},
"node_id": {
"description": "The GraphQL identifier of the repository.",
"type": "string"
},
"notifications_url": {
"description": "A template for the API URL to get information about notifications on the repository.",
"type": "string",
"format": "uri-template"
},
"owner": {
"$ref": "#/definitions/user"
},
"private": {
"description": "Whether the repository is private or public.",
"type": "boolean"
},
"pulls_url": {
"description": "A template for the API URL to get information about pull requests on the repository.",
"type": "string",
"format": "uri-template"
},
"releases_url": {
"description": "A template for the API URL to get information about releases on the repository.",
"type": "string",
"format": "uri-template"
},
"stargazers_url": {
"description": "The API URL to list the stargazers on the repository.",
"type": "string",
"format": "uri"
},
"statuses_url": {
"description": "A template for the API URL to get information about statuses of a commit.",
"type": "string",
"format": "uri-template"
},
"subscribers_url": {
"description": "The API URL to list the subscribers on the repository.",
"type": "string",
"format": "uri"
},
"subscription_url": {
"description": "The API URL to subscribe to notifications for this repository.",
"type": "string",
"format": "uri"
},
"tags_url": {
"description": "The API URL to get information about tags on the repository.",
"type": "string",
"format": "uri"
},
"teams_url": {
"description": "The API URL to list the teams on the repository.",
"type": "string",
"format": "uri"
},
"trees_url": {
"description": "A template for the API URL to create or retrieve a raw Git tree of the repository.",
"type": "string",
"format": "uri-template"
},
"url": {
"description": "The URL to get more information about the repository from the GitHub API.",
"type": "string",
"format": "uri"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§archive_url: String
A template for the API URL to download the repository as an archive.
assignees_url: String
A template for the API URL to list the available assignees for issues in the repository.
blobs_url: String
A template for the API URL to create or retrieve a raw Git blob in the repository.
branches_url: String
A template for the API URL to get information about branches in the repository.
collaborators_url: String
A template for the API URL to get information about collaborators of the repository.
comments_url: String
A template for the API URL to get information about comments on the repository.
commits_url: String
A template for the API URL to get information about commits on the repository.
compare_url: String
A template for the API URL to compare two commits or refs.
contents_url: String
A template for the API URL to get the contents of the repository.
contributors_url: String
A template for the API URL to list the contributors to the repository.
deployments_url: String
The API URL to list the deployments of the repository.
description: Option<String>
The repository description.
downloads_url: String
The API URL to list the downloads on the repository.
events_url: String
The API URL to list the events of the repository.
fork: bool
Whether the repository is a fork.
forks_url: String
The API URL to list the forks of the repository.
full_name: String
The full, globally unique, name of the repository.
git_commits_url: String
A template for the API URL to get information about Git commits of the repository.
git_refs_url: String
A template for the API URL to get information about Git refs of the repository.
A template for the API URL to get information about Git tags of the repository.
hooks_url: String
The API URL to list the hooks on the repository.
html_url: String
The URL to view the repository on GitHub.com.
id: i64
Unique identifier of the repository
issue_comment_url: String
A template for the API URL to get information about issue comments on the repository.
issue_events_url: String
A template for the API URL to get information about issue events on the repository.
issues_url: String
A template for the API URL to get information about issues on the repository.
keys_url: String
A template for the API URL to get information about deploy keys on the repository.
labels_url: String
A template for the API URL to get information about labels of the repository.
languages_url: String
The API URL to get information about the languages of the repository.
merges_url: String
The API URL to merge branches in the repository.
milestones_url: String
A template for the API URL to get information about milestones of the repository.
name: String
The name of the repository.
node_id: String
The GraphQL identifier of the repository.
notifications_url: String
A template for the API URL to get information about notifications on the repository.
owner: User
§private: bool
Whether the repository is private or public.
pulls_url: String
A template for the API URL to get information about pull requests on the repository.
releases_url: String
A template for the API URL to get information about releases on the repository.
stargazers_url: String
The API URL to list the stargazers on the repository.
statuses_url: String
A template for the API URL to get information about statuses of a commit.
subscribers_url: String
The API URL to list the subscribers on the repository.
subscription_url: String
The API URL to subscribe to notifications for this repository.
The API URL to get information about tags on the repository.
teams_url: String
The API URL to list the teams on the repository.
trees_url: String
A template for the API URL to create or retrieve a raw Git tree of the repository.
url: String
The URL to get more information about the repository from the GitHub API.
Implementations§
Source§impl RepositoryLite
impl RepositoryLite
pub fn builder() -> RepositoryLite
Trait Implementations§
Source§impl Clone for RepositoryLite
impl Clone for RepositoryLite
Source§fn clone(&self) -> RepositoryLite
fn clone(&self) -> RepositoryLite
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more