Struct hubcaps::search::IssuesItem

source ·
pub struct IssuesItem {
Show 21 fields pub url: String, pub repository_url: String, pub labels_url: String, pub comments_url: String, pub events_url: String, pub html_url: String, pub id: u64, pub number: u64, pub title: String, pub user: User, pub labels: Vec<Label>, pub state: String, pub locked: bool, pub assignee: Option<User>, pub assignees: Vec<User>, pub comments: u64, pub created_at: String, pub updated_at: String, pub closed_at: Option<String>, pub pull_request: Option<PullRequestInfo>, pub body: Option<String>,
}
Expand description

May reporesent a Github Issue or PullRequest depending on the type of search

Fields

url: Stringrepository_url: Stringlabels_url: Stringcomments_url: Stringevents_url: Stringhtml_url: Stringid: u64number: u64title: Stringuser: Userlabels: Vec<Label>state: Stringlocked: boolassignee: Option<User>assignees: Vec<User>comments: u64created_at: Stringupdated_at: Stringclosed_at: Option<String>pull_request: Option<PullRequestInfo>body: Option<String>

Implementations

returns a tuple of (repo owner name, repo name) associated with this issue

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. 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

Returns the argument unchanged.

Calls U::from(self).

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

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.