pub enum MergeCommitTitle {
PrTitle,
MergeMessage,
}
Expand description
The default value for a merge commit title.
PR_TITLE
- default to the pull request’s title.MERGE_MESSAGE
- default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
Variants§
Trait Implementations§
source§impl Clone for MergeCommitTitle
impl Clone for MergeCommitTitle
source§fn clone(&self) -> MergeCommitTitle
fn clone(&self) -> MergeCommitTitle
Returns a copy 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 MergeCommitTitle
impl Debug for MergeCommitTitle
source§impl<'de> Deserialize<'de> for MergeCommitTitle
impl<'de> Deserialize<'de> for MergeCommitTitle
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 Display for MergeCommitTitle
impl Display for MergeCommitTitle
source§impl PartialEq for MergeCommitTitle
impl PartialEq for MergeCommitTitle
source§fn eq(&self, other: &MergeCommitTitle) -> bool
fn eq(&self, other: &MergeCommitTitle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MergeCommitTitle
impl Serialize for MergeCommitTitle
impl Copy for MergeCommitTitle
impl StructuralPartialEq for MergeCommitTitle
Auto Trait Implementations§
impl Freeze for MergeCommitTitle
impl RefUnwindSafe for MergeCommitTitle
impl Send for MergeCommitTitle
impl Sync for MergeCommitTitle
impl Unpin for MergeCommitTitle
impl UnwindSafe for MergeCommitTitle
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)