mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-15 16:00:38 +08:00
21 lines
419 B
Rust
21 lines
419 B
Rust
use serde::Serialize;
|
|
|
|
use radicle::{cob::thread::CommentId, issue::IssueId};
|
|
|
|
/// The selected issue operation returned by the operation
|
|
/// selection widget.
|
|
#[derive(Clone, Debug, Eq, PartialEq, Serialize)]
|
|
pub enum IssueOperation {
|
|
Edit {
|
|
id: IssueId,
|
|
},
|
|
Show {
|
|
id: IssueId,
|
|
},
|
|
Comment {
|
|
id: IssueId,
|
|
reply_to: Option<CommentId>,
|
|
search: String,
|
|
},
|
|
}
|