pub struct HookRunRecord {
pub name: String,
pub ran: bool,
pub exit_code: Option<i32>,
}Expand description
One server-side hook invocation during receive-pack.
Fields§
§name: StringHook name (pre-receive, update, post-receive, or post-update).
ran: boolWhether an executable hook ran (missing hooks are skipped).
exit_code: Option<i32>Exit code when Self::ran is true.
Trait Implementations§
Source§impl Clone for HookRunRecord
impl Clone for HookRunRecord
Source§impl Debug for HookRunRecord
impl Debug for HookRunRecord
impl Eq for HookRunRecord
Source§impl PartialEq for HookRunRecord
impl PartialEq for HookRunRecord
impl StructuralPartialEq for HookRunRecord
Auto Trait Implementations§
impl Freeze for HookRunRecord
impl RefUnwindSafe for HookRunRecord
impl Send for HookRunRecord
impl Sync for HookRunRecord
impl Unpin for HookRunRecord
impl UnsafeUnpin for HookRunRecord
impl UnwindSafe for HookRunRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.