Struct roctogen::models::PullrequestHeadRepo[][src]

pub struct PullrequestHeadRepo {
Show fields pub archive_url: Option<String>, pub assignees_url: Option<String>, pub blobs_url: Option<String>, pub branches_url: Option<String>, pub collaborators_url: Option<String>, pub comments_url: Option<String>, pub commits_url: Option<String>, pub compare_url: Option<String>, pub contents_url: Option<String>, pub contributors_url: Option<String>, pub deployments_url: Option<String>, pub description: Option<String>, pub downloads_url: Option<String>, pub events_url: Option<String>, pub fork: Option<bool>, pub forks_url: Option<String>, pub full_name: Option<String>, pub git_commits_url: Option<String>, pub git_refs_url: Option<String>, pub git_tags_url: Option<String>, pub hooks_url: Option<String>, pub html_url: Option<String>, pub id: Option<i64>, pub node_id: Option<String>, pub issue_comment_url: Option<String>, pub issue_events_url: Option<String>, pub issues_url: Option<String>, pub keys_url: Option<String>, pub labels_url: Option<String>, pub languages_url: Option<String>, pub merges_url: Option<String>, pub milestones_url: Option<String>, pub name: Option<String>, pub notifications_url: Option<String>, pub owner: Option<PullrequestHeadRepoOwner>, pub private: Option<bool>, pub pulls_url: Option<String>, pub releases_url: Option<String>, pub stargazers_url: Option<String>, pub statuses_url: Option<String>, pub subscribers_url: Option<String>, pub subscription_url: Option<String>, pub tags_url: Option<String>, pub teams_url: Option<String>, pub trees_url: Option<String>, pub url: Option<String>, pub clone_url: Option<String>, pub default_branch: Option<String>, pub forks: Option<i64>, pub forks_count: Option<i64>, pub git_url: Option<String>, pub has_downloads: Option<bool>, pub has_issues: Option<bool>, pub has_projects: Option<bool>, pub has_wiki: Option<bool>, pub has_pages: Option<bool>, pub homepage: Option<String>, pub language: Option<String>, pub master_branch: Option<String>, pub archived: Option<bool>, pub disabled: Option<bool>, pub mirror_url: Option<String>, pub open_issues: Option<i64>, pub open_issues_count: Option<i64>, pub permissions: Option<FullrepositoryPermissions>, pub temp_clone_token: Option<String>, pub allow_merge_commit: Option<bool>, pub allow_squash_merge: Option<bool>, pub allow_rebase_merge: Option<bool>, pub license: Option<PullrequestHeadRepoLicense>, pub pushed_at: Option<DateTime<Utc>>, pub size: Option<i64>, pub ssh_url: Option<String>, pub stargazers_count: Option<i64>, pub svn_url: Option<String>, pub topics: Option<Vec<String>>, pub watchers: Option<i64>, pub watchers_count: Option<i64>, pub created_at: Option<DateTime<Utc>>, pub updated_at: Option<DateTime<Utc>>,
}

Fields

archive_url: Option<String>assignees_url: Option<String>blobs_url: Option<String>branches_url: Option<String>collaborators_url: Option<String>comments_url: Option<String>commits_url: Option<String>compare_url: Option<String>contents_url: Option<String>contributors_url: Option<String>deployments_url: Option<String>description: Option<String>downloads_url: Option<String>events_url: Option<String>fork: Option<bool>forks_url: Option<String>full_name: Option<String>git_commits_url: Option<String>git_refs_url: Option<String>git_tags_url: Option<String>hooks_url: Option<String>html_url: Option<String>id: Option<i64>node_id: Option<String>issue_comment_url: Option<String>issue_events_url: Option<String>issues_url: Option<String>keys_url: Option<String>labels_url: Option<String>languages_url: Option<String>merges_url: Option<String>milestones_url: Option<String>name: Option<String>notifications_url: Option<String>owner: Option<PullrequestHeadRepoOwner>private: Option<bool>pulls_url: Option<String>releases_url: Option<String>stargazers_url: Option<String>statuses_url: Option<String>subscribers_url: Option<String>subscription_url: Option<String>tags_url: Option<String>teams_url: Option<String>trees_url: Option<String>url: Option<String>clone_url: Option<String>default_branch: Option<String>forks: Option<i64>forks_count: Option<i64>git_url: Option<String>has_downloads: Option<bool>has_issues: Option<bool>has_projects: Option<bool>has_wiki: Option<bool>has_pages: Option<bool>homepage: Option<String>language: Option<String>master_branch: Option<String>archived: Option<bool>disabled: Option<bool>mirror_url: Option<String>open_issues: Option<i64>open_issues_count: Option<i64>permissions: Option<FullrepositoryPermissions>temp_clone_token: Option<String>allow_merge_commit: Option<bool>allow_squash_merge: Option<bool>allow_rebase_merge: Option<bool>license: Option<PullrequestHeadRepoLicense>pushed_at: Option<DateTime<Utc>>size: Option<i64>ssh_url: Option<String>stargazers_count: Option<i64>svn_url: Option<String>topics: Option<Vec<String>>watchers: Option<i64>watchers_count: Option<i64>created_at: Option<DateTime<Utc>>updated_at: Option<DateTime<Utc>>

Trait Implementations

impl Clone for PullrequestHeadRepo[src]

fn clone(&self) -> PullrequestHeadRepo[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PullrequestHeadRepo[src]

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

Formats the value using the given formatter. Read more

impl Default for PullrequestHeadRepo[src]

fn default() -> PullrequestHeadRepo[src]

Returns the “default value” for a type. Read more

impl<'de> Deserialize<'de> for PullrequestHeadRepo[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

impl PartialEq<PullrequestHeadRepo> for PullrequestHeadRepo[src]

fn eq(&self, other: &PullrequestHeadRepo) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &PullrequestHeadRepo) -> bool[src]

This method tests for !=.

impl Serialize for PullrequestHeadRepo[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl StructuralPartialEq for PullrequestHeadRepo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]