pub struct PullRequestAutoMerge<'a> {
pub enabled_by: Option<User<'a>>,
pub merge_method: PullRequestAutoMergeMergeMethod,
pub commit_title: Option<&'a str>,
pub commit_message: Option<&'a str>,
}
Expand description
The status of auto merging a pull request.
Fields§
§enabled_by: Option<User<'a>>
§merge_method: PullRequestAutoMergeMergeMethod
The merge method to use.
commit_title: Option<&'a str>
Title for the merge commit message.
commit_message: Option<&'a str>
Commit message for the merge commit.
Trait Implementations§
source§impl<'a> Debug for PullRequestAutoMerge<'a>
impl<'a> Debug for PullRequestAutoMerge<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for PullRequestAutoMerge<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PullRequestAutoMerge<'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 PullRequestAutoMerge<'a>
impl<'a> Send for PullRequestAutoMerge<'a>
impl<'a> Sync for PullRequestAutoMerge<'a>
impl<'a> Unpin for PullRequestAutoMerge<'a>
impl<'a> UnwindSafe for PullRequestAutoMerge<'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