pub enum SubtreeOperation {
Import {
subtree: String,
git_ref: String,
},
Split {
subtree: String,
git_ref: String,
},
Update {
subtree: String,
git_ref: String,
},
}
Expand description
Represents different subtree operations encoded in the commit message.
Variants
Import
Split
Update
Trait Implementations
sourceimpl Debug for SubtreeOperation
impl Debug for SubtreeOperation
sourceimpl PartialEq<SubtreeOperation> for SubtreeOperation
impl PartialEq<SubtreeOperation> for SubtreeOperation
sourcefn eq(&self, other: &SubtreeOperation) -> bool
fn eq(&self, other: &SubtreeOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SubtreeOperation) -> bool
fn ne(&self, other: &SubtreeOperation) -> bool
This method tests for !=
.
impl Eq for SubtreeOperation
impl StructuralEq for SubtreeOperation
impl StructuralPartialEq for SubtreeOperation
Auto Trait Implementations
impl RefUnwindSafe for SubtreeOperation
impl Send for SubtreeOperation
impl Sync for SubtreeOperation
impl Unpin for SubtreeOperation
impl UnwindSafe for SubtreeOperation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more