pub struct GithubWebhookPushEvent {Show 14 fields
pub ref_name: String,
pub before: String,
pub after: String,
pub created: bool,
pub deleted: bool,
pub forced: bool,
pub base_ref: Option<String>,
pub compare: String,
pub commits: Vec<GithubWebhookPushEventCommit>,
pub head_commit: Option<GithubWebhookPushEventCommit>,
pub repository: GithubRepository,
pub pusher: GithubPusher,
pub sender: GithubUser,
pub installation: GithubWebhookInstallation,
}Fields§
§ref_name: String§before: StringIf first commit, before will be 0000000000000000000000000000000000000000
after: String§created: bool§deleted: bool§forced: bool§base_ref: Option<String>§compare: String§commits: Vec<GithubWebhookPushEventCommit>§head_commit: Option<GithubWebhookPushEventCommit>§repository: GithubRepository§pusher: GithubPusher§sender: GithubUser§installation: GithubWebhookInstallationTrait Implementations§
Source§impl Clone for GithubWebhookPushEvent
impl Clone for GithubWebhookPushEvent
Source§fn clone(&self) -> GithubWebhookPushEvent
fn clone(&self) -> GithubWebhookPushEvent
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 GithubWebhookPushEvent
impl Debug for GithubWebhookPushEvent
Source§impl<'de> Deserialize<'de> for GithubWebhookPushEvent
impl<'de> Deserialize<'de> for GithubWebhookPushEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GithubWebhookPushEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GithubWebhookPushEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GithubWebhookPushEvent
impl Serialize for GithubWebhookPushEvent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GithubWebhookPushEvent
impl RefUnwindSafe for GithubWebhookPushEvent
impl Send for GithubWebhookPushEvent
impl Sync for GithubWebhookPushEvent
impl Unpin for GithubWebhookPushEvent
impl UnwindSafe for GithubWebhookPushEvent
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