Module enum

Module enum 

Source

Enumsยง

JsonResult
A generic enum representing a JSON result that can either be a success (Ok) with a value of type T or an error (Err) with a value of type E.