pub enum PlanAction {
NoOp,
Create {
new_content: String,
},
RecordLock {
base_content: String,
},
NeedsAdopt,
UpdateFastForward {
new_content: String,
},
KeepLocal,
MergeClean {
merged_content: String,
new_base_content: String,
},
OverwriteWithUpstream {
new_content: String,
},
Conflict {
conflict_preview: String,
},
}Variants§
NoOp
Create
RecordLock
NeedsAdopt
UpdateFastForward
KeepLocal
MergeClean
OverwriteWithUpstream
Conflict
Trait Implementations§
Source§impl Clone for PlanAction
impl Clone for PlanAction
Source§impl Debug for PlanAction
impl Debug for PlanAction
Source§impl<'de> Deserialize<'de> for PlanAction
impl<'de> Deserialize<'de> for PlanAction
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
impl Eq for PlanAction
Source§impl PartialEq for PlanAction
impl PartialEq for PlanAction
Source§impl Serialize for PlanAction
impl Serialize for PlanAction
impl StructuralPartialEq for PlanAction
Auto Trait Implementations§
impl Forget for PlanAction
impl Freeze for PlanAction
impl Move for PlanAction
impl RefUnwindSafe for PlanAction
impl Send for PlanAction
impl Sync for PlanAction
impl Unpin for PlanAction
impl UnsafeUnpin for PlanAction
impl UnwindSafe for PlanAction
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.