Deducing electron properties from hard X-ray observations