pub struct ManagerDailyBriefOutcomeRecord {Show 15 fields
pub action_id: String,
pub outcome: ManagerDailyBriefOutcomeCode,
pub before_minutes: StoredManagerDailyBriefLaborMinutes,
pub actual_minutes: StoredManagerDailyBriefLaborMinutes,
pub actor_id: String,
pub actor_persona: ManagerDailyBriefPersonaCode,
pub feedback: String,
pub source_refs: Vec<StoredSourceRecordRef>,
pub recorded_at: String,
pub correlation_id: String,
pub location_id: String,
pub operating_day: String,
pub action_kind: ManagerDailyBriefActionKindCode,
pub owner_persona: ManagerDailyBriefPersonaCode,
pub estimated_minutes_saved: u16,
}Expand description
Stored evidence for a manager daily-brief action, including before/after labor minutes and source references.
Fields§
§action_id: StringStable workflow action identifier used for idempotent labor evidence.
outcome: ManagerDailyBriefOutcomeCodeFinal disposition recorded for the workflow action.
before_minutes: StoredManagerDailyBriefLaborMinutesEstimated manual minutes before automation or assisted workflow execution.
actual_minutes: StoredManagerDailyBriefLaborMinutesObserved minutes spent after the workflow was completed or reviewed.
actor_id: StringUser, worker, or system actor that recorded the outcome.
actor_persona: ManagerDailyBriefPersonaCodeRole 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.
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: ManagerDailyBriefActionKindCodeWorkflow action that generated the labor evidence.
owner_persona: ManagerDailyBriefPersonaCodeRole expected to own or review the workflow item.
estimated_minutes_saved: u16Derived labor savings based on before and actual minute evidence.
Implementations§
Source§impl ManagerDailyBriefOutcomeRecord
impl ManagerDailyBriefOutcomeRecord
Sourcepub fn builder() -> ManagerDailyBriefOutcomeRecordBuilder
pub fn builder() -> ManagerDailyBriefOutcomeRecordBuilder
Create an instance of ManagerDailyBriefOutcomeRecord using the builder syntax
Source§impl ManagerDailyBriefOutcomeRecord
impl ManagerDailyBriefOutcomeRecord
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 the derived minutes saved from before/after labor evidence.
Sourcepub fn reporting_group(&self) -> ManagerDailyBriefReportingGroup
pub fn reporting_group(&self) -> ManagerDailyBriefReportingGroup
Returns the aggregation dimensions used for labor reporting.
Trait Implementations§
Source§impl Clone for ManagerDailyBriefOutcomeRecord
impl Clone for ManagerDailyBriefOutcomeRecord
Source§fn clone(&self) -> ManagerDailyBriefOutcomeRecord
fn clone(&self) -> ManagerDailyBriefOutcomeRecord
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 ManagerDailyBriefOutcomeRecord
impl<'de> Deserialize<'de> for ManagerDailyBriefOutcomeRecord
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 ManagerDailyBriefOutcomeRecord
impl PartialEq for ManagerDailyBriefOutcomeRecord
Source§fn eq(&self, other: &ManagerDailyBriefOutcomeRecord) -> bool
fn eq(&self, other: &ManagerDailyBriefOutcomeRecord) -> bool
self and other values to be equal, and is used by ==.