Restructuring avoids default only if the creditors agree to it before default.
Default is any failure to pay the full amount of the coupon on a bond on time, where the coupon on a bond is the specification of which sums of money are payable when.
A restructuring can be classed as a default by the rating agencies, and for the purposes of paying out on credit default swaps.