Struct gitlab::types::Issue
[−]
[src]
pub struct Issue { pub id: IssueId, pub iid: u64, pub project_id: ProjectId, pub title: String, pub description: Option<String>, pub state: IssueState, pub created_at: DateTime<UTC>, pub updated_at: DateTime<UTC>, pub labels: Vec<String>, pub milestone: Option<Milestone>, pub author: UserBasic, pub assignee: Option<UserBasic>, pub subscribed: bool, pub user_notes_count: u64, pub upvotes: u64, pub downvotes: u64, pub due_date: Option<NaiveDate>, pub confidential: bool, pub web_url: String, }
An issue on a project.
Fields
id: IssueId
The ID of the issue.
iid: u64
The user-visible ID of the issue.
project_id: ProjectId
The ID of the project.
title: String
The title of the issue.
description: Option<String>
The description of the issue.
state: IssueState
The state of the issue.
created_at: DateTime<UTC>
When the issue was created.
updated_at: DateTime<UTC>
When the issue was last updated.
labels: Vec<String>
The labels attached to the issue.
milestone: Option<Milestone>
The milestone of the issue.
The author of the issue.
assignee: Option<UserBasic>
The assignee of the issue.
subscribed: bool
Whether the current user is subscribed or not.
user_notes_count: u64
The number of comments on the issue.
upvotes: u64
The number of upvotes for the issue.
downvotes: u64
The number of downvotes against the issue.
due_date: Option<NaiveDate>
When the issue is due.
confidential: bool
Whether the issue is confidential or not.
web_url: String
The URL of the issue.
Trait Implementations
impl Debug for Issue
[src]
impl Clone for Issue
[src]
fn clone(&self) -> Issue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more