[−][src]Struct gitlab::webhooks::PushHook
A push hook.
Fields
object_kind: StringThe event which occurred.
before: ObjectIdThe old object ID of the ref before the push.
after: ObjectIdThe new object ID of the ref after the push.
ref_: StringThe name of the reference which has been pushed.
checkout_sha: Option<ObjectId>The new object ID of the ref after the push.
message: Option<String>The message for the push (used for annotated tags).
user_id: UserIdThe ID of the user who pushed.
user_name: StringThe name of the user who pushed.
user_username: StringThe username of the user who pushed.
user_email: StringThe email address of the user who pushed.
user_avatar: Option<String>The URL of the user's avatar.
project_id: ProjectIdThe ID of the project pushed to.
project: ProjectHookAttrsAttributes of the project.
commits: Vec<CommitHookAttrs>The commits pushed to the repository.
Limited to 20 commits.
total_commits_count: u64The total number of commits pushed.
Trait Implementations
impl Clone for PushHook[src]
impl Debug for PushHook[src]
impl<'de> Deserialize<'de> for PushHook[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for PushHook[src]
Auto Trait Implementations
impl RefUnwindSafe for PushHook
impl Send for PushHook
impl Sync for PushHook
impl Unpin for PushHook
impl UnwindSafe for PushHook
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,