If it is connected by a common roof it is not a seperate structure.
If I have a detached garage that is connected to the main house only with a roof, is this considered a separate structure? I just need to know if this garage needs its own panel with MCB.