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 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 MergeCommitTitle
impl Debug for MergeCommitTitle
Source§impl Default for MergeCommitTitle
impl Default for MergeCommitTitle
Source§fn default() -> MergeCommitTitle
fn default() -> MergeCommitTitle
Returns the “default value” for a type. Read more
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 Hash for MergeCommitTitle
impl Hash for MergeCommitTitle
Source§impl Ord for MergeCommitTitle
impl Ord for MergeCommitTitle
Source§fn cmp(&self, other: &MergeCommitTitle) -> Ordering
fn cmp(&self, other: &MergeCommitTitle) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MergeCommitTitle
impl PartialEq for MergeCommitTitle
Source§impl PartialOrd for MergeCommitTitle
impl PartialOrd for MergeCommitTitle
Source§impl Serialize for MergeCommitTitle
impl Serialize for MergeCommitTitle
impl Copy for MergeCommitTitle
impl Eq 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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.