Struct gitlab::webhooks::SnippetHookAttrs [] [src]

pub struct SnippetHookAttrs {
    pub title: String,
    pub content: String,
    pub author_id: UserId,
    pub project_id: Option<ProjectId>,
    pub created_at: HookDate,
    pub updated_at: HookDate,
    pub file_name: String,
    pub type_: SnippetType,
    pub visibility_level: u64,
}

Snippet information exposed in hooks.

Fields

The title of the snippet.

The content of the snippet.

The author of the snippet.

The project the snippet belongs to.

When the snippet was created.

When the snippet was last updated.

The name of the snippet.

The type of the snippet.

The visibility of the snippet.

Trait Implementations

impl Debug for SnippetHookAttrs
[src]

Formats the value using the given formatter.

impl Clone for SnippetHookAttrs
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more