16 lines
466 B
Rust
16 lines
466 B
Rust
//! 想法晋升 — PromotionResult(promote_idea IPC 返回类型)。
|
|
//! 实际晋升路径:commands/idea.rs::promote_idea → df-project::ProjectManager::create_from_idea。
|
|
|
|
use serde::Serialize;
|
|
|
|
use df_types::types::{IdeaId, ProjectId};
|
|
|
|
/// 晋升结果(promote_idea IPC 返回类型)
|
|
#[derive(Debug, Clone, Serialize)]
|
|
pub struct PromotionResult {
|
|
pub idea_id: IdeaId,
|
|
pub project_id: ProjectId,
|
|
pub promoted: bool,
|
|
pub reason: String,
|
|
}
|