#[repr(u8)]pub enum UpdateStyle {
Merge = 0,
Rebase = 1,
}Expand description
The strategy used to update an out-of-date pull request.
Variants§
Merge = 0
Merge the base branch into the pull request branch.
Rebase = 1
Rebase the pull request branch onto the base branch.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateStyle
impl Clone for UpdateStyle
Source§fn clone(&self) -> UpdateStyle
fn clone(&self) -> UpdateStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpdateStyle
Source§impl Debug for UpdateStyle
impl Debug for UpdateStyle
Source§impl Display for UpdateStyle
impl Display for UpdateStyle
impl Eq for UpdateStyle
Source§impl<'ʄ> Facet<'ʄ> for UpdateStyle
impl<'ʄ> Facet<'ʄ> for UpdateStyle
Source§impl FromStr for UpdateStyle
impl FromStr for UpdateStyle
Source§impl PartialEq for UpdateStyle
impl PartialEq for UpdateStyle
impl StructuralPartialEq for UpdateStyle
Auto Trait Implementations§
impl Freeze for UpdateStyle
impl RefUnwindSafe for UpdateStyle
impl Send for UpdateStyle
impl Sync for UpdateStyle
impl Unpin for UpdateStyle
impl UnsafeUnpin for UpdateStyle
impl UnwindSafe for UpdateStyle
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.