Generation of single random struct