Skip to main content

validate_meal_entry_data

Function validate_meal_entry_data 

Source
pub fn validate_meal_entry_data(meal_type: &str, serving_g: f64) -> Result<()>
Expand description

Validate an imported meal entry: meal_type and serving_g.