Module actions

Module actions 

Source
Expand description

Custom actions for the Product actor.

This module defines the resource-specific operations (Actions) that can be performed on a Product entity, such as checking stock or reserving items. These actions are handled by the ActorEntity::handle_action method.

See impl ActorEntity for Product for the implementation details.

Enumsยง

ProductAction
Custom actions for Product entities.
ProductActionResult
Results from ProductActions - variants match 1:1 with ProductAction