pub struct PushEvent {
pub pusher: Author,
pub before: Oid,
pub after: Oid,
pub branch: String,
pub commits: Vec<Oid>,
}
Expand description
A push event.
Fields§
§pusher: Author
The author of the change.
before: Oid
The commit on which the change is based.
after: Oid
FIXME
branch: String
The branch where the push occurred.
commits: Vec<Oid>
The commits in the change.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PushEvent
impl<'de> Deserialize<'de> for PushEvent
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 PushEvent
impl RefUnwindSafe for PushEvent
impl Send for PushEvent
impl Sync for PushEvent
impl Unpin for PushEvent
impl UnwindSafe for PushEvent
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