pub struct ServiceHistoryEntry {
pub pet_id: PetId,
pub location_id: LocationId,
pub service: Service,
pub completed_on: NaiveDate,
pub outcome: ServiceOutcome,
pub approval: ApprovalState,
/* private fields */
}Expand description
Grooming history entry used for future duration estimates, style continuity, care review, and rebooking.
Fields§
§pet_id: PetIdPet receiving the grooming or care service.
location_id: LocationIdResort location whose grooming history should be considered for this pet.
service: ServiceRequested service that drives scheduling and labor estimates.
completed_on: NaiveDateDate the grooming outcome was completed or recorded for cadence and history review.
outcome: ServiceOutcomeService outcome used to decide whether future estimates, rebooking prompts, or follow-up are appropriate.
approval: ApprovalStateApproval state that keeps sensitive grooming history out of automation until review clears.
Implementations§
Source§impl ServiceHistoryEntry
impl ServiceHistoryEntry
Sourcepub fn builder() -> ServiceHistoryEntryBuilder
pub fn builder() -> ServiceHistoryEntryBuilder
Create an instance of ServiceHistoryEntry using the builder syntax
Source§impl ServiceHistoryEntry
impl ServiceHistoryEntry
Sourcepub fn style_notes(&self) -> &[StyleNote]
pub fn style_notes(&self) -> &[StyleNote]
Returns the style notes value used by grooming schedule/rebooking review.
Sourcepub fn care_refs(&self) -> &[CareReference]
pub fn care_refs(&self) -> &[CareReference]
Returns the care refs value used by grooming schedule/rebooking review.
Sourcepub const fn duration(&self) -> Option<AppointmentMinutes>
pub const fn duration(&self) -> Option<AppointmentMinutes>
Returns the duration value used by grooming schedule/rebooking review.
Sourcepub const fn requires_review(&self) -> bool
pub const fn requires_review(&self) -> bool
Reports whether care-team review is needed before proceeding.
Trait Implementations§
Source§impl Clone for ServiceHistoryEntry
impl Clone for ServiceHistoryEntry
Source§fn clone(&self) -> ServiceHistoryEntry
fn clone(&self) -> ServiceHistoryEntry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more