OmniStacksStaticModules 2.0.0
Loading...
Searching...
No Matches
TaskManager::TaskPatch Struct Referenceexport

部分更新任务;optional 表示“未提供”,clear_* 表示“显式清空”。 More...

Public Attributes

std::optional< std::string > title
 新标题。
std::optional< std::string > description
 新描述。
std::optional< std::string > start_date
 新开始日期表达式。
std::optional< std::string > due_date
 新截止日期表达式。
std::optional< std::string > priority
 新优先级表达式。
bool clear_start_date = false
 从 Stacks 文件移除 startdate。
bool clear_due_date = false
 从 Stacks 文件移除 duedate。
bool clear_priority = false
 从 Stacks 文件移除 priority。

Detailed Description

部分更新任务;optional 表示“未提供”,clear_* 表示“显式清空”。

Note
不能用空 optional 同时表达“不修改”和“删除字段”,因此清空单独建模。

Definition at line 115 of file TaskManager.cppm.

Member Data Documentation

◆ clear_due_date

bool TaskManager::TaskPatch::clear_due_date = false

从 Stacks 文件移除 duedate。

Definition at line 122 of file TaskManager.cppm.

◆ clear_priority

bool TaskManager::TaskPatch::clear_priority = false

从 Stacks 文件移除 priority。

Definition at line 123 of file TaskManager.cppm.

◆ clear_start_date

bool TaskManager::TaskPatch::clear_start_date = false

从 Stacks 文件移除 startdate。

Definition at line 121 of file TaskManager.cppm.

◆ description

std::optional<std::string> TaskManager::TaskPatch::description

新描述。

Definition at line 117 of file TaskManager.cppm.

◆ due_date

std::optional<std::string> TaskManager::TaskPatch::due_date

新截止日期表达式。

Definition at line 119 of file TaskManager.cppm.

◆ priority

std::optional<std::string> TaskManager::TaskPatch::priority

新优先级表达式。

Definition at line 120 of file TaskManager.cppm.

◆ start_date

std::optional<std::string> TaskManager::TaskPatch::start_date

新开始日期表达式。

Definition at line 118 of file TaskManager.cppm.

◆ title

std::optional<std::string> TaskManager::TaskPatch::title

新标题。

Definition at line 116 of file TaskManager.cppm.


The documentation for this struct was generated from the following file:
  • /Users/runner/work/CXX-CMake-template/CXX-CMake-template/single-exe-static-modules/modules/task_manager/include/TaskManager.cppm