[][src]Struct gitlab::webhooks::CommitHookAttrs

pub struct CommitHookAttrs {
    pub id: ObjectId,
    pub message: String,
    pub timestamp: DateTime<Utc>,
    pub url: String,
    pub author: HookCommitIdentity,
    pub added: Option<Vec<String>>,
    pub modified: Option<Vec<String>>,
    pub removed: Option<Vec<String>>,
}

Commit information exposed in hooks.

Fields

id: ObjectId

The commit's ID.

message: String

The commit message.

timestamp: DateTime<Utc>url: String

The URL of the commit.

author: HookCommitIdentity

The author of the commit.

added: Option<Vec<String>>modified: Option<Vec<String>>removed: Option<Vec<String>>

Trait Implementations

impl Clone for CommitHookAttrs[src]

impl Debug for CommitHookAttrs[src]

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

impl Serialize for CommitHookAttrs[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.