pub fn validate_product(product: &Product) -> ValidationResult<()>Expand description
Validate a Product message
Validates:
- product_id is present
- product_type is specified (not unspecified)
- source_platform is present
- timestamp is present
- confidence is in valid range (0.0 - 1.0)
- content is present and valid for the product type