mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-09 13:20:49 +08:00
13 lines
322 B
Rust
13 lines
322 B
Rust
use radicle::patch::PatchId;
|
|
use serde::Serialize;
|
|
|
|
/// The selected patch operation returned by the operation
|
|
/// selection widget.
|
|
#[derive(Clone, Debug, Eq, PartialEq, Serialize)]
|
|
pub enum PatchOperation {
|
|
Checkout { id: PatchId },
|
|
Diff { id: PatchId },
|
|
Show { id: PatchId },
|
|
_Review { id: PatchId },
|
|
}
|