[][src]Struct hubcaps::search::IssuesItem

pub struct IssuesItem {
    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>,
}

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

impl IssuesItem[src]

pub fn repo_tuple(&self) -> (String, String)[src]

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

Trait Implementations

impl Debug for IssuesItem[src]

impl<'de> Deserialize<'de> for IssuesItem[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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.

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.