Enum octocrab::params::pulls::MergeMethod
source · #[non_exhaustive]pub enum MergeMethod {
Merge,
Squash,
Rebase,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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 PartialEq for MergeMethod
impl PartialEq 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 ==
.source§impl Serialize for MergeMethod
impl Serialize for MergeMethod
impl Copy for MergeMethod
impl StructuralPartialEq for MergeMethod
Auto Trait Implementations§
impl Freeze for MergeMethod
impl RefUnwindSafe for MergeMethod
impl Send for MergeMethod
impl Sync for MergeMethod
impl Unpin for MergeMethod
impl UnwindSafe for MergeMethod
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