Struct gitlab::systemhooks::ProjectMemberSystemHook [] [src]

pub struct ProjectMemberSystemHook {
    pub event_name: ProjectMemberEvent,
    pub created_at: DateTime<UTC>,
    pub updated_at: DateTime<UTC>,
    pub project_name: String,
    pub project_path: String,
    pub project_path_with_namespace: String,
    pub project_id: ProjectId,
    pub user_username: String,
    pub user_name: String,
    pub user_email: String,
    pub user_id: UserId,
    pub access_level: HumanAccessLevel,
    pub project_visibility: ProjectVisibility,
}

A project membership hook.

Fields

The event which occurred.

When the membership was created.

When the membership was last updated.

The name of the project.

The path of the project (used for URLs).

The namespace and path of the project (used for URLs).

The ID of the project.

The username of the user added as a member.

The name of the user added as a member.

The email address of the user added as a member.

The ID of the user.

The access level granted to the user.

The visibility of the project.

Trait Implementations

impl Debug for ProjectMemberSystemHook
[src]

Formats the value using the given formatter.

impl Clone for ProjectMemberSystemHook
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more