Enum gitlab::api::projects::MergeMethod
source · pub enum MergeMethod {
Merge,
RebaseMerge,
FastForward,
}Expand description
How merge requests should be merged when using the “Merge” button.
Variants§
Merge
Always create a merge commit.
RebaseMerge
Always create a merge commit, but require that the branch be fast-forward capable.
FastForward
Only fast-forward merges are allowed.
Trait Implementations§
source§impl Clone for MergeMethod
impl Clone for MergeMethod
source§fn clone(&self) -> MergeMethod
fn clone(&self) -> MergeMethod
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 MergeMethod
impl Debug for MergeMethod
source§impl ParamValue<'static> for MergeMethod
impl ParamValue<'static> for MergeMethod
source§impl PartialEq<MergeMethod> for MergeMethod
impl PartialEq<MergeMethod> for MergeMethod
source§fn eq(&self, other: &MergeMethod) -> bool
fn eq(&self, other: &MergeMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MergeMethod
impl Eq for MergeMethod
impl StructuralEq for MergeMethod
impl StructuralPartialEq for MergeMethod
Auto Trait Implementations§
impl RefUnwindSafe for MergeMethod
impl Send for MergeMethod
impl Sync for MergeMethod
impl Unpin for MergeMethod
impl UnwindSafe for MergeMethod
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.