Struct gitlab::webhooks::NoteHookAttrs [] [src]

pub struct NoteHookAttrs {
    pub id: NoteId,
    pub note: String,
    pub noteable_type: NoteType,
    pub author_id: UserId,
    pub created_at: HookDate,
    pub updated_at: HookDate,
    pub updated_by_id: Option<UserId>,
    pub resolved_at: Option<HookDate>,
    pub resolved_by_id: Option<UserId>,
    pub project_id: ProjectId,
    pub attachment: Option<String>,
    pub line_code: Option<String>,
    pub commit_id: Option<ObjectId>,
    pub discussion_id: ObjectId,
    pub original_discussion_id: Option<ObjectId>,
    pub system: bool,
    pub st_diff: Option<DiffHookAttrs>,
    pub url: String,
    pub type_: Option<String>,
    // some fields omitted
}

Note (comment) information exposed in hooks.

Fields

The ID of the note.

THe content of the note.

The type of entity the note is attached to.

The author of the note.

When the note was created.

When the note was last updated.

The ID of the user who last updated the note.

When the note was marked as resolved.

The ID of the user who marked the note as resolved.

The ID of the project.

The URL of an attachment to the note.

Whether the note was created by a user or in response to an external action.

The URL of the note.

Methods

impl NoteHookAttrs
[src]

The ID of the object the note is for.

Trait Implementations

impl Debug for NoteHookAttrs
[src]

Formats the value using the given formatter.

impl Clone for NoteHookAttrs
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more