pub struct StatusNamesReport {
pub source: SourceName,
pub names: Vec<MappedStatusName>,
pub refused: Option<RefusedCreate>,
/* private fields */
}Expand description
What onetaskgraph sources fields reports for a linear source: every name its
status_mapping gives a task, checked against the configured team’s workflow states, and
every name it gives a project, checked against the workspace’s project statuses.
With --apply, each name a kind’s vocabulary lacks is created first — a workflow state on
the team, a project status in the workspace — of the type its category derives (see the
crate’s ruling on sources fields --apply), and the report names what it created. Nothing that exists is renamed,
retyped or deleted. A create Linear refuses stops the run: Self::refused names it, and
every name created before it is reported created.
Fields§
§source: SourceNameThe configured source name.
names: Vec<MappedStatusName>Every name status_mapping gives a task, then every name it gives a project, each in
category order. A bare name is reported once for each kind. Empty when it names none.
refused: Option<RefusedCreate>The create Linear refused, which stopped an --apply; absent when nothing was refused.
Implementations§
Trait Implementations§
Source§impl Clone for StatusNamesReport
impl Clone for StatusNamesReport
Source§impl Debug for StatusNamesReport
impl Debug for StatusNamesReport
Source§impl JsonSchema for StatusNamesReport
impl JsonSchema for StatusNamesReport
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