pub struct HeldTask {
pub id: NativeId,
pub kind: ItemKind,
pub option: Option<String>,
pub classification: Classification,
pub repositories: Vec<Repository>,
pub delivers: Vec<TaskRef>,
}Expand description
The item one source holds for an issue — a task, or a project such as a plan’s home card —
as far as moving it to done needs it.
It carries of the item exactly what the write and the rules around it need — which item and of which kind, the card it sits at, the tasks it delivers, and what decides where its id may be written — rather than the whole item, because the read that answers it is priced per issue and a whole item is not what a landing’s closure needs.
Fields§
§id: NativeIdThe item, by this source’s own id for it.
kind: ItemKindWhich kind of item it is. Defaulted to task and left out of the wire while it is one,
so a plugin written before a project could be held answers exactly what it answered.
option: Option<String>The name of the option the task’s card sits at, as the source spells it, when it sits at one.
classification: ClassificationThe task’s own classification.
repositories: Vec<Repository>The repositories the task names.
delivers: Vec<TaskRef>The tasks it delivers, which a write of it to done keeps in step — always empty for a
project, which delivers none.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HeldTask
impl<'de> Deserialize<'de> for HeldTask
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>,
Source§impl JsonSchema for HeldTask
impl JsonSchema for HeldTask
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more