pub struct FieldReport {
pub field: BoardField,
pub exists: bool,
pub missing: Vec<String>,
pub kinds: Vec<KindMissing>,
pub outcome: FieldOutcome,
pub existing: Vec<StatusOption>,
}Expand description
One field’s plan, or its verified outcome.
Fields§
§field: BoardFieldWhich field.
exists: boolWhether the board had the field before the operation.
missing: Vec<String>Configured option names the field lacked before the operation — every one of them, in the order a new field lists them, when the field was not there at all.
kinds: Vec<KindMissing>For the Status field, which item kind each missing name is configured for: one
entry per kind status_mapping names a missing option for, task before project, each
listing that kind’s missing names in category order. A name both kinds use is in
both. Empty — and left out of the JSON — when nothing is missing, and always for
Priority, which only a task holds.
outcome: FieldOutcomeWhat the requested operation did.
existing: Vec<StatusOption>The field’s complete option list observed before any mutation; empty when the field was not there.
Trait Implementations§
Source§impl Clone for FieldReport
impl Clone for FieldReport
Source§impl Debug for FieldReport
impl Debug for FieldReport
impl Eq for FieldReport
Source§impl JsonSchema for FieldReport
impl JsonSchema for FieldReport
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