pub struct PullRequestAutoMergeEnabledEvent<'a> {
pub number: usize,
pub pull_request: PullRequest<'a>,
pub reason: &'a str,
pub repository: Repository<'a>,
pub installation: Option<InstallationLite<'a>>,
pub organization: Option<Organization<'a>>,
pub sender: User<'a>,
}
Fields§
§number: usize
§pull_request: PullRequest<'a>
§reason: &'a str
§repository: Repository<'a>
§installation: Option<InstallationLite<'a>>
§organization: Option<Organization<'a>>
§sender: User<'a>
Trait Implementations§
source§impl<'a> Debug for PullRequestAutoMergeEnabledEvent<'a>
impl<'a> Debug for PullRequestAutoMergeEnabledEvent<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for PullRequestAutoMergeEnabledEvent<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PullRequestAutoMergeEnabledEvent<'a>
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<'a> RefUnwindSafe for PullRequestAutoMergeEnabledEvent<'a>
impl<'a> Send for PullRequestAutoMergeEnabledEvent<'a>
impl<'a> Sync for PullRequestAutoMergeEnabledEvent<'a>
impl<'a> Unpin for PullRequestAutoMergeEnabledEvent<'a>
impl<'a> UnwindSafe for PullRequestAutoMergeEnabledEvent<'a>
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