pub struct PullRequestEventData {
pub number: u64,
pub title: String,
pub author: String,
pub source_branch: String,
pub target_branch: String,
pub state: String,
}Expand description
Pull request event data.
Fields§
§number: u64Pull request number.
title: StringPull request title.
Author username.
source_branch: StringSource branch.
target_branch: StringTarget branch.
state: StringCurrent state (open, closed, merged).
Trait Implementations§
Source§impl Clone for PullRequestEventData
impl Clone for PullRequestEventData
Source§fn clone(&self) -> PullRequestEventData
fn clone(&self) -> PullRequestEventData
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 PullRequestEventData
impl Debug for PullRequestEventData
Source§impl<'de> Deserialize<'de> for PullRequestEventData
impl<'de> Deserialize<'de> for PullRequestEventData
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 PullRequestEventData
impl RefUnwindSafe for PullRequestEventData
impl Send for PullRequestEventData
impl Sync for PullRequestEventData
impl Unpin for PullRequestEventData
impl UnwindSafe for PullRequestEventData
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