Struct gitlab::webhooks::NoteHook [] [src]

pub struct NoteHook {
    pub object_kind: String,
    pub user: UserHookAttrs,
    pub project_id: ProjectId,
    pub project: ProjectHookAttrs,
    pub object_attributes: NoteHookAttrs,
    pub commit: Option<CommitHookAttrs>,
    pub issue: Option<IssueHookAttrs>,
    pub merge_request: Option<MergeRequestHookAttrs>,
    pub snippet: Option<SnippetHookAttrs>,
    // some fields omitted
}

A note hook.

Fields

The event which occurred.

The user who triggered the hook.

The ID of the project the note belongs to.

The project the note belongs to.

The attributes on the note itself.

The commit the note is associated with (for commit notes).

The issue the note is associated with (for issue notes).

The merge request the note is associated with (for merge request notes).

The snippet the note is associated with (for snippet notes).

Trait Implementations

impl Debug for NoteHook
[src]

Formats the value using the given formatter.

impl Clone for NoteHook
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more