pub struct Issue {Show 15 fields
pub id: u64,
pub node_id: String,
pub number: u64,
pub title: String,
pub body: Option<String>,
pub state: String,
pub user: IssueUser,
pub assignees: Vec<IssueUser>,
pub labels: Vec<Label>,
pub milestone: Option<Milestone>,
pub comments: u64,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub closed_at: Option<DateTime<Utc>>,
pub html_url: String,
}Expand description
GitHub issue.
Represents a GitHub issue with all its metadata.
See docs/spec/interfaces/issue-operations.md
Fields§
§id: u64Unique issue identifier
node_id: StringNode ID for GraphQL API
number: u64Issue number (repository-specific)
title: StringIssue title
body: Option<String>Issue body content (Markdown)
state: StringIssue state
user: IssueUserUser who created the issue
assignees: Vec<IssueUser>Assigned users
labels: Vec<Label>Applied labels
milestone: Option<Milestone>Milestone
comments: u64Number of comments
created_at: DateTime<Utc>Creation timestamp
updated_at: DateTime<Utc>Last update timestamp
closed_at: Option<DateTime<Utc>>Close timestamp
html_url: StringIssue URL
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Issue
impl<'de> Deserialize<'de> for Issue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 Freeze for Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnsafeUnpin for Issue
impl UnwindSafe for Issue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more