pub struct DataQualityHygieneOutcomeRecord {Show 17 fields
pub action_id: String,
pub outcome: DataQualityHygieneOutcomeCode,
pub before_minutes: StoredDataQualityHygieneLaborMinutes,
pub actual_minutes: StoredDataQualityHygieneLaborMinutes,
pub actor_id: String,
pub actor_persona: DataQualityHygienePersonaCode,
pub feedback: String,
pub source_refs: Vec<StoredSourceRecordRef>,
pub issue_refs: Vec<String>,
pub resolution_status_after_review: DataQualityResolutionStatusCode,
pub recorded_at: String,
pub correlation_id: String,
pub location_id: String,
pub operating_day: String,
pub action_kind: DataQualityHygieneActionKindCode,
pub owner_persona: DataQualityHygienePersonaCode,
pub estimated_minutes_saved: u16,
}Expand description
Stored evidence for a data-quality hygiene action, including labor deltas, issue references, and resolution state.
Fields§
§action_id: StringStable workflow action identifier used for idempotent labor evidence.
outcome: DataQualityHygieneOutcomeCodeFinal disposition recorded for the workflow action.
before_minutes: StoredDataQualityHygieneLaborMinutesEstimated manual minutes before automation or assisted workflow execution.
actual_minutes: StoredDataQualityHygieneLaborMinutesObserved minutes spent after the workflow was completed or reviewed.
actor_id: StringUser, worker, or system actor that recorded the outcome.
actor_persona: DataQualityHygienePersonaCodeRole of the actor that completed or reviewed the action.
feedback: StringOptional operator feedback explaining the decision or correction.
source_refs: Vec<StoredSourceRecordRef>Provider evidence records used to justify the workflow action.
issue_refs: Vec<String>Data-quality issue identifiers reviewed by the hygiene workflow.
resolution_status_after_review: DataQualityResolutionStatusCodeIssue lifecycle state after the hygiene review completed.
recorded_at: StringTimestamp when the labor evidence was written.
correlation_id: StringCross-system identifier tying the record to a workflow run or request.
location_id: StringLocation whose operating day or service rules is described.
operating_day: StringBusiness date used for labor and reporting aggregation.
action_kind: DataQualityHygieneActionKindCodeWorkflow action that generated the labor evidence.
owner_persona: DataQualityHygienePersonaCodeRole expected to own or review the workflow item.
estimated_minutes_saved: u16Derived labor savings based on before and actual minute evidence.
Implementations§
Source§impl DataQualityHygieneOutcomeRecord
impl DataQualityHygieneOutcomeRecord
Sourcepub fn builder() -> DataQualityHygieneOutcomeRecordBuilder
pub fn builder() -> DataQualityHygieneOutcomeRecordBuilder
Create an instance of DataQualityHygieneOutcomeRecord using the builder syntax
Source§impl DataQualityHygieneOutcomeRecord
impl DataQualityHygieneOutcomeRecord
Sourcepub fn decode_json(raw: &str) -> Result<Self>
pub fn decode_json(raw: &str) -> Result<Self>
Decodes a JSON storage payload into its typed record shape.
Sourcepub fn encode_json(&self) -> Result<String>
pub fn encode_json(&self) -> Result<String>
Encodes the storage record as JSON for persistence or fixture comparison.
Sourcepub const fn actual_minutes_saved(&self) -> u16
pub const fn actual_minutes_saved(&self) -> u16
Returns or constructs the Gingr actual minutes saved value.
Sourcepub fn reporting_group(&self) -> DataQualityHygieneReportingGroup
pub fn reporting_group(&self) -> DataQualityHygieneReportingGroup
Returns the aggregation dimensions used for labor reporting.
Trait Implementations§
Source§impl Clone for DataQualityHygieneOutcomeRecord
impl Clone for DataQualityHygieneOutcomeRecord
Source§fn clone(&self) -> DataQualityHygieneOutcomeRecord
fn clone(&self) -> DataQualityHygieneOutcomeRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for DataQualityHygieneOutcomeRecord
impl<'de> Deserialize<'de> for DataQualityHygieneOutcomeRecord
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 PartialEq for DataQualityHygieneOutcomeRecord
impl PartialEq for DataQualityHygieneOutcomeRecord
Source§fn eq(&self, other: &DataQualityHygieneOutcomeRecord) -> bool
fn eq(&self, other: &DataQualityHygieneOutcomeRecord) -> bool
self and other values to be equal, and is used by ==.