Skip to main content

validate_actuator_command

Function validate_actuator_command 

Source
pub fn validate_actuator_command(cmd: &ActuatorCommand) -> ValidationResult<()>
Expand description

Validate an actuator command

Validates:

  • command_id is present
  • platform_id is present
  • actuator_id is present
  • command_type is specified
  • issued_at is present