pub struct ControlReport {
pub feature: String,
pub task: String,
pub action: String,
pub text: Option<String>,
pub record: Option<String>,
}Expand description
Result of accept, skip and nudge.
Fields§
§feature: StringFeature directory name.
task: StringTask ID.
action: Stringaccepted, skipped, unskipped, nudged or nudges_cleared.
text: Option<String>The person’s reason or note.
record: Option<String>The commit or ref that records it, when it lives in git.
Trait Implementations§
Source§impl Clone for ControlReport
impl Clone for ControlReport
Source§impl Debug for ControlReport
impl Debug for ControlReport
impl Eq for ControlReport
Source§impl JsonSchema for ControlReport
impl JsonSchema for ControlReport
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 ControlReport
impl PartialEq for ControlReport
Source§impl Serialize for ControlReport
impl Serialize for ControlReport
impl StructuralPartialEq for ControlReport
Auto Trait Implementations§
impl Freeze for ControlReport
impl RefUnwindSafe for ControlReport
impl Send for ControlReport
impl Sync for ControlReport
impl Unpin for ControlReport
impl UnsafeUnpin for ControlReport
impl UnwindSafe for ControlReport
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