Struct gitlab::types::Issue
[−]
[src]
pub struct Issue {
pub id: IssueId,
pub iid: IssueInternalId,
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 assignees: Option<Vec<UserBasic>>,
pub subscribed: Option<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: IssueInternalId
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.
assignees: Option<Vec<UserBasic>>
The assignees of the issue.
subscribed: Option<bool>
Whether the current user is subscribed or not. GitLab does not include this in responses with lists of issues but does on an individual issue.
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