pub struct PullRequestAutoMerge1 {
pub commit_message: Option<String>,
pub commit_title: String,
pub enabled_by: Option<Box<User>>,
pub merge_method: MergeMethod,
}
Expand description
PullRequestAutoMerge1 : The status of auto merging a pull request.
Fields§
§commit_message: Option<String>
Commit message for the merge commit.
commit_title: String
Title for the merge commit message.
enabled_by: Option<Box<User>>
§merge_method: MergeMethod
The merge method to use.
Implementations§
Source§impl PullRequestAutoMerge1
impl PullRequestAutoMerge1
Sourcepub fn new(
commit_message: Option<String>,
commit_title: String,
enabled_by: Option<User>,
merge_method: MergeMethod,
) -> PullRequestAutoMerge1
pub fn new( commit_message: Option<String>, commit_title: String, enabled_by: Option<User>, merge_method: MergeMethod, ) -> PullRequestAutoMerge1
The status of auto merging a pull request.
Trait Implementations§
Source§impl Clone for PullRequestAutoMerge1
impl Clone for PullRequestAutoMerge1
Source§fn clone(&self) -> PullRequestAutoMerge1
fn clone(&self) -> PullRequestAutoMerge1
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 PullRequestAutoMerge1
impl Debug for PullRequestAutoMerge1
Source§impl Default for PullRequestAutoMerge1
impl Default for PullRequestAutoMerge1
Source§fn default() -> PullRequestAutoMerge1
fn default() -> PullRequestAutoMerge1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullRequestAutoMerge1
impl<'de> Deserialize<'de> for PullRequestAutoMerge1
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
Source§impl PartialEq for PullRequestAutoMerge1
impl PartialEq for PullRequestAutoMerge1
Source§impl Serialize for PullRequestAutoMerge1
impl Serialize for PullRequestAutoMerge1
impl StructuralPartialEq for PullRequestAutoMerge1
Auto Trait Implementations§
impl Freeze for PullRequestAutoMerge1
impl RefUnwindSafe for PullRequestAutoMerge1
impl Send for PullRequestAutoMerge1
impl Sync for PullRequestAutoMerge1
impl Unpin for PullRequestAutoMerge1
impl UnwindSafe for PullRequestAutoMerge1
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