struct code