pub struct RepositoryLite<'a> {
Show 46 fields pub archive_url: &'a str, pub assignees_url: &'a str, pub blobs_url: &'a str, pub branches_url: &'a str, pub collaborators_url: &'a str, pub comments_url: &'a str, pub commits_url: &'a str, pub compare_url: &'a str, pub contents_url: &'a str, pub contributors_url: &'a str, pub deployments_url: &'a str, pub description: Option<&'a str>, pub downloads_url: &'a str, pub events_url: &'a str, pub fork: bool, pub forks_url: &'a str, pub full_name: &'a str, pub git_commits_url: &'a str, pub git_refs_url: &'a str, pub git_tags_url: &'a str, pub hooks_url: &'a str, pub html_url: &'a str, pub id: usize, pub issue_comment_url: &'a str, pub issue_events_url: &'a str, pub issues_url: &'a str, pub keys_url: &'a str, pub labels_url: &'a str, pub languages_url: &'a str, pub merges_url: &'a str, pub milestones_url: &'a str, pub name: &'a str, pub node_id: &'a str, pub notifications_url: &'a str, pub owner: User<'a>, pub private: bool, pub pulls_url: &'a str, pub releases_url: &'a str, pub stargazers_url: &'a str, pub statuses_url: &'a str, pub subscribers_url: &'a str, pub subscription_url: &'a str, pub tags_url: &'a str, pub teams_url: &'a str, pub trees_url: &'a str, pub url: &'a str,
}

Fields§

§archive_url: &'a str

A template for the API URL to download the repository as an archive.

§assignees_url: &'a str

A template for the API URL to list the available assignees for issues in the repository.

§blobs_url: &'a str

A template for the API URL to create or retrieve a raw Git blob in the repository.

§branches_url: &'a str

A template for the API URL to get information about branches in the repository.

§collaborators_url: &'a str

A template for the API URL to get information about collaborators of the repository.

§comments_url: &'a str

A template for the API URL to get information about comments on the repository.

§commits_url: &'a str

A template for the API URL to get information about commits on the repository.

§compare_url: &'a str

A template for the API URL to compare two commits or refs.

§contents_url: &'a str

A template for the API URL to get the contents of the repository.

§contributors_url: &'a str

A template for the API URL to list the contributors to the repository.

§deployments_url: &'a str

The API URL to list the deployments of the repository.

§description: Option<&'a str>

The repository description.

§downloads_url: &'a str

The API URL to list the downloads on the repository.

§events_url: &'a str

The API URL to list the events of the repository.

§fork: bool

Whether the repository is a fork.

§forks_url: &'a str

The API URL to list the forks of the repository.

§full_name: &'a str

The full, globally unique, name of the repository.

§git_commits_url: &'a str

A template for the API URL to get information about Git commits of the repository.

§git_refs_url: &'a str

A template for the API URL to get information about Git refs of the repository.

§git_tags_url: &'a str

A template for the API URL to get information about Git tags of the repository.

§hooks_url: &'a str

The API URL to list the hooks on the repository.

§html_url: &'a str

The URL to view the repository on GitHub.com.

§id: usize

Unique identifier of the repository

§issue_comment_url: &'a str

A template for the API URL to get information about issue comments on the repository.

§issue_events_url: &'a str

A template for the API URL to get information about issue events on the repository.

§issues_url: &'a str

A template for the API URL to get information about issues on the repository.

§keys_url: &'a str

A template for the API URL to get information about deploy keys on the repository.

§labels_url: &'a str

A template for the API URL to get information about labels of the repository.

§languages_url: &'a str

The API URL to get information about the languages of the repository.

§merges_url: &'a str

The API URL to merge branches in the repository.

§milestones_url: &'a str

A template for the API URL to get information about milestones of the repository.

§name: &'a str

The name of the repository.

§node_id: &'a str

The GraphQL identifier of the repository.

§notifications_url: &'a str

A template for the API URL to get information about notifications on the repository.

§owner: User<'a>§private: bool

Whether the repository is private or public.

§pulls_url: &'a str

A template for the API URL to get information about pull requests on the repository.

§releases_url: &'a str

A template for the API URL to get information about releases on the repository.

§stargazers_url: &'a str

The API URL to list the stargazers on the repository.

§statuses_url: &'a str

A template for the API URL to get information about statuses of a commit.

§subscribers_url: &'a str

The API URL to list the subscribers on the repository.

§subscription_url: &'a str

The API URL to subscribe to notifications for this repository.

§tags_url: &'a str

The API URL to get information about tags on the repository.

§teams_url: &'a str

The API URL to list the teams on the repository.

§trees_url: &'a str

A template for the API URL to create or retrieve a raw Git tree of the repository.

§url: &'a str

The URL to get more information about the repository from the GitHub API.

Trait Implementations§

source§

impl<'a> Debug for RepositoryLite<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for RepositoryLite<'a>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for RepositoryLite<'a>

§

impl<'a> Send for RepositoryLite<'a>

§

impl<'a> Sync for RepositoryLite<'a>

§

impl<'a> Unpin for RepositoryLite<'a>

§

impl<'a> UnwindSafe for RepositoryLite<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,