pub struct FieldReport {
pub field: BoardField,
pub exists: bool,
pub missing: Vec<String>,
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.
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>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FieldReport
impl PartialEq for FieldReport
Source§impl Serialize for FieldReport
impl Serialize for FieldReport
impl StructuralPartialEq for FieldReport
Auto Trait Implementations§
impl Freeze for FieldReport
impl RefUnwindSafe for FieldReport
impl Send for FieldReport
impl Sync for FieldReport
impl Unpin for FieldReport
impl UnsafeUnpin for FieldReport
impl UnwindSafe for FieldReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more