pub struct GitPullRequestMergeOptions {
pub conflict_authorship_commits: Option<bool>,
pub detect_rename_false_positives: Option<bool>,
pub disable_renames: Option<bool>,
}Expand description
The options which are used when a pull request merge is created.
Fields§
If true, conflict resolutions applied during the merge will be put in separate commits to preserve authorship info for git blame, etc.
detect_rename_false_positives: Option<bool>§disable_renames: Option<bool>If true, rename detection will not be performed during the merge.
Implementations§
Trait Implementations§
Source§impl Clone for GitPullRequestMergeOptions
impl Clone for GitPullRequestMergeOptions
Source§fn clone(&self) -> GitPullRequestMergeOptions
fn clone(&self) -> GitPullRequestMergeOptions
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 GitPullRequestMergeOptions
impl Debug for GitPullRequestMergeOptions
Source§impl Default for GitPullRequestMergeOptions
impl Default for GitPullRequestMergeOptions
Source§fn default() -> GitPullRequestMergeOptions
fn default() -> GitPullRequestMergeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitPullRequestMergeOptions
impl<'de> Deserialize<'de> for GitPullRequestMergeOptions
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
impl StructuralPartialEq for GitPullRequestMergeOptions
Auto Trait Implementations§
impl Freeze for GitPullRequestMergeOptions
impl RefUnwindSafe for GitPullRequestMergeOptions
impl Send for GitPullRequestMergeOptions
impl Sync for GitPullRequestMergeOptions
impl Unpin for GitPullRequestMergeOptions
impl UnwindSafe for GitPullRequestMergeOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more