pub enum BranchAction {
Commit,
Abort,
Keep,
}Expand description
Action to take on branch exit.
Variants§
Trait Implementations§
Source§impl Clone for BranchAction
impl Clone for BranchAction
Source§fn clone(&self) -> BranchAction
fn clone(&self) -> BranchAction
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 BranchAction
impl Debug for BranchAction
Source§impl Default for BranchAction
impl Default for BranchAction
Source§fn default() -> BranchAction
fn default() -> BranchAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BranchAction
impl<'de> Deserialize<'de> for BranchAction
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 PartialEq for BranchAction
impl PartialEq for BranchAction
Source§impl Serialize for BranchAction
impl Serialize for BranchAction
impl Eq for BranchAction
impl StructuralPartialEq for BranchAction
Auto Trait Implementations§
impl Freeze for BranchAction
impl RefUnwindSafe for BranchAction
impl Send for BranchAction
impl Sync for BranchAction
impl Unpin for BranchAction
impl UnsafeUnpin for BranchAction
impl UnwindSafe for BranchAction
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> 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.