pub enum MergeCommitMessage {
PrBody,
PrTitle,
Blank,
}
Expand description
The default value for a merge commit message. - PR_TITLE
- default to the pull request’s title. - PR_BODY
- default to the pull request’s body. - BLANK
- default to a blank commit message.
Variants§
Trait Implementations§
Source§impl Clone for MergeCommitMessage
impl Clone for MergeCommitMessage
Source§fn clone(&self) -> MergeCommitMessage
fn clone(&self) -> MergeCommitMessage
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 MergeCommitMessage
impl Debug for MergeCommitMessage
Source§impl Default for MergeCommitMessage
impl Default for MergeCommitMessage
Source§fn default() -> MergeCommitMessage
fn default() -> MergeCommitMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MergeCommitMessage
impl<'de> Deserialize<'de> for MergeCommitMessage
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 MergeCommitMessage
impl Hash for MergeCommitMessage
Source§impl Ord for MergeCommitMessage
impl Ord for MergeCommitMessage
Source§fn cmp(&self, other: &MergeCommitMessage) -> Ordering
fn cmp(&self, other: &MergeCommitMessage) -> 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 MergeCommitMessage
impl PartialEq for MergeCommitMessage
Source§impl PartialOrd for MergeCommitMessage
impl PartialOrd for MergeCommitMessage
Source§impl Serialize for MergeCommitMessage
impl Serialize for MergeCommitMessage
impl Copy for MergeCommitMessage
impl Eq for MergeCommitMessage
impl StructuralPartialEq for MergeCommitMessage
Auto Trait Implementations§
impl Freeze for MergeCommitMessage
impl RefUnwindSafe for MergeCommitMessage
impl Send for MergeCommitMessage
impl Sync for MergeCommitMessage
impl Unpin for MergeCommitMessage
impl UnwindSafe for MergeCommitMessage
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.