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

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

event_name: ProjectMemberEvent

The event which occurred.

created_at: DateTime<Utc>

When the membership was created.

updated_at: DateTime<Utc>

When the membership was last updated.

project_name: String

The name of the project.

project_path: String

The path of the project (used for URLs).

project_path_with_namespace: String

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

project_id: ProjectId

The ID of the project.

user_username: String

The username of the user added as a member.

user_name: String

The name of the user added as a member.

user_email: String

The email address of the user added as a member.

user_id: UserId

The ID of the user.

access_level: HumanAccessLevel

The access level granted to the user.

project_visibility: ProjectVisibility

The visibility of the project.

Trait Implementations

impl Clone for ProjectMemberSystemHook[src]

impl Debug for ProjectMemberSystemHook[src]

impl<'de> Deserialize<'de> for ProjectMemberSystemHook[src]

impl Serialize for ProjectMemberSystemHook[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.