pub struct PushEventData {
pub ref_name: String,
pub before: String,
pub after: String,
pub pusher: String,
pub commit_count: usize,
}Expand description
Push event data.
Fields§
§ref_name: StringReference that was pushed (e.g., “refs/heads/main”).
before: StringSHA before the push.
after: StringSHA after the push.
pusher: StringUsername of the pusher.
commit_count: usizeNumber of commits.
Trait Implementations§
Source§impl Clone for PushEventData
impl Clone for PushEventData
Source§fn clone(&self) -> PushEventData
fn clone(&self) -> PushEventData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PushEventData
impl Debug for PushEventData
Source§impl<'de> Deserialize<'de> for PushEventData
impl<'de> Deserialize<'de> for PushEventData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PushEventData
impl RefUnwindSafe for PushEventData
impl Send for PushEventData
impl Sync for PushEventData
impl Unpin for PushEventData
impl UnwindSafe for PushEventData
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