pub type ApiResult<T> = Result<T, LoginsApiError>;
enum ApiResult<T> { Ok(T), Err(LoginsApiError), }
Contains the success value
Contains the error value