pub struct IssueHookAttrs {Show 24 fields
pub id: u64,
pub title: String,
pub assignee_id: Option<u64>,
pub author_id: u64,
pub project_id: u64,
pub created_at: HookDate,
pub updated_at: HookDate,
pub deleted_at: Option<HookDate>,
pub closed_at: Option<HookDate>,
pub due_date: Option<NaiveDate>,
pub updated_by_id: Option<u64>,
pub moved_to_id: Option<Value>,
pub branch_name: Option<String>,
pub description: Option<String>,
pub milestone_id: Option<u64>,
pub state: IssueState,
pub iid: u64,
pub confidential: bool,
pub time_estimate: u64,
pub total_time_spent: u64,
pub human_time_estimate: Option<String>,
pub human_total_time_spent: Option<String>,
pub url: Option<String>,
pub action: Option<IssueAction>,
}Expand description
Issue information exposed in hooks.
Fields§
§id: u64The ID of the issue.
title: StringThe title of the issue.
assignee_id: Option<u64>The ID of the assignee of the issue.
The ID of the author of the issue.
project_id: u64The ID of the project.
created_at: HookDateWhen the issue was created.
updated_at: HookDateWhen the issue was last updated.
deleted_at: Option<HookDate>When the issue was deleted.
closed_at: Option<HookDate>When the issue was closed.
due_date: Option<NaiveDate>When the issue is due.
updated_by_id: Option<u64>The ID of the user which last updated the issue.
moved_to_id: Option<Value>§branch_name: Option<String>The branch name for the issue.
description: Option<String>The description of the issue.
milestone_id: Option<u64>The ID of the milestone of the issue.
state: IssueStateThe state of the issue.
iid: u64The user-visible ID of the issue.
confidential: boolWhether the issue is confidential or not.
time_estimate: u64The time estimate, in seconds.
total_time_spent: u64The total time spent, in seconds.
human_time_estimate: Option<String>The time estimate, as a human-readable string.
human_total_time_spent: Option<String>The total time spent, as a human-readable string.
url: Option<String>The URL of the issue.
action: Option<IssueAction>The type of action which caused the hook.
Trait Implementations§
source§impl Clone for IssueHookAttrs
impl Clone for IssueHookAttrs
source§fn clone(&self) -> IssueHookAttrs
fn clone(&self) -> IssueHookAttrs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IssueHookAttrs
impl Debug for IssueHookAttrs
source§impl<'de> Deserialize<'de> for IssueHookAttrs
impl<'de> Deserialize<'de> for IssueHookAttrs
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>,
Auto Trait Implementations§
impl Freeze for IssueHookAttrs
impl RefUnwindSafe for IssueHookAttrs
impl Send for IssueHookAttrs
impl Sync for IssueHookAttrs
impl Unpin for IssueHookAttrs
impl UnwindSafe for IssueHookAttrs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more