pub enum PatchAction {
Propose {
title: String,
description: String,
base_ref: String,
base_commit: String,
head_commit: String,
},
UpdateRevision {
revision_commit: String,
base_commit: Option<String>,
summary: Option<String>,
},
ReviewComment {
path: String,
line: u32,
commit: String,
body: String,
},
ReviewVerdict {
verdict: VerdictKind,
commit: String,
body: Option<String>,
},
Merge {
merge_commit: String,
merged_by: ActorId,
},
Close,
}Expand description
Operations on a patch / pull-request CRDT.
Variants§
Trait Implementations§
Source§impl Clone for PatchAction
impl Clone for PatchAction
Source§impl Debug for PatchAction
impl Debug for PatchAction
Source§impl<'de> Deserialize<'de> for PatchAction
impl<'de> Deserialize<'de> for PatchAction
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 PatchAction
Source§impl PartialEq for PatchAction
impl PartialEq for PatchAction
Source§impl Serialize for PatchAction
impl Serialize for PatchAction
impl StructuralPartialEq for PatchAction
Auto Trait Implementations§
impl Forget for PatchAction
impl Freeze for PatchAction
impl Move for PatchAction
impl RefUnwindSafe for PatchAction
impl Send for PatchActionwhere
RawVecInner: Send,
impl Sync for PatchActionwhere
RawVecInner: Sync,
impl Unpin for PatchAction
impl UnsafeUnpin for PatchAction
impl UnwindSafe for PatchActionwhere
RawVecInner: UnwindSafe,
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