Struct gitlab::webhooks::IssueHookAttrs
[−]
[src]
pub struct IssueHookAttrs { pub id: IssueId, pub title: String, pub assignee_id: Option<UserId>, pub author_id: UserId, pub project_id: ProjectId, pub created_at: HookDate, pub updated_at: HookDate, pub deleted_at: Option<HookDate>, pub due_date: Option<NaiveDate>, pub updated_by_id: Option<UserId>, pub moved_to_id: Option<Value>, pub position: u64, pub branch_name: Option<String>, pub description: String, pub milestone_id: Option<MilestoneId>, pub state: IssueState, pub iid: u64, pub confidential: bool, pub url: Option<String>, pub action: Option<IssueAction>, }
Issue information exposed in hooks.
Fields
id: IssueId
The ID of the issue.
title: String
The title of the issue.
assignee_id: Option<UserId>
The ID of the assignee of the issue.
The ID of the author of the issue.
project_id: ProjectId
The ID of the project.
created_at: HookDate
When the issue was created.
updated_at: HookDate
When the issue was last updated.
deleted_at: Option<HookDate>
When the issue was deleted.
due_date: Option<NaiveDate>
When the issue is due.
updated_by_id: Option<UserId>
The ID of the user which last updated the issue.
moved_to_id: Option<Value>
position: u64
branch_name: Option<String>
The branch name for the issue.
description: String
The description of the issue.
milestone_id: Option<MilestoneId>
The ID of the milestone of the issue.
state: IssueState
The state of the issue.
iid: u64
The user-visible ID of the issue.
confidential: bool
Whether the issue is confidential or not.
url: Option<String>
The URL of the issue.
action: Option<IssueAction>
The type of action which caused the hook.
Trait Implementations
impl Debug for IssueHookAttrs
[src]
impl Clone for IssueHookAttrs
[src]
fn clone(&self) -> IssueHookAttrs
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