Struct octocrab::models::issues::Issue[][src]

#[non_exhaustive]
pub struct Issue {
Show fields pub id: i64, pub node_id: String, pub url: Url, pub repository_url: Url, pub labels_url: Url, pub comments_url: Url, pub events_url: Url, pub html_url: Url, pub number: i64, pub state: String, pub title: String, pub body: Option<String>, pub body_text: Option<String>, pub body_html: Option<String>, pub user: User, pub labels: Vec<Label>, pub assignee: Option<User>, pub assignees: Vec<User>, pub author_association: String, pub milestone: Option<Milestone>, pub locked: bool, pub active_lock_reason: Option<String>, pub comments: u32, pub pull_request: Option<PullRequestLink>, pub closed_at: Option<DateTime<Utc>>, pub created_at: DateTime<Utc>, pub updated_at: DateTime<Utc>,
}

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
id: i64node_id: Stringurl: Urlrepository_url: Urllabels_url: Urlcomments_url: Urlevents_url: Urlhtml_url: Urlnumber: i64state: Stringtitle: Stringbody: Option<String>body_text: Option<String>body_html: Option<String>user: Userlabels: Vec<Label>assignee: Option<User>assignees: Vec<User>author_association: Stringmilestone: Option<Milestone>locked: boolactive_lock_reason: Option<String>comments: u32pull_request: Option<PullRequestLink>closed_at: Option<DateTime<Utc>>created_at: DateTime<Utc>updated_at: DateTime<Utc>

Trait Implementations

impl Clone for Issue[src]

impl Debug for Issue[src]

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

impl PartialEq<Issue> for Issue[src]

impl Serialize for Issue[src]

impl StructuralPartialEq for Issue[src]

Auto Trait Implementations

impl RefUnwindSafe for Issue

impl Send for Issue

impl Sync for Issue

impl Unpin for Issue

impl UnwindSafe for Issue

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> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.