Rules for determining market structure

Good day, please I am trying to determine market structure. I am familiar with the uptrend, downtrend and sideways market.

However, I dont know the rules to put in place when determing market structure.

For example, will i say there is a higher high if price breaks the resistance level, or if one candle closes above the resistance level, or even two candles…

I am a price action swing trader. I trade on the daily chart as my primary chart while using the weekly chart for trend determination and levels.

I will appreciate if someone can point me in the right direction. Thank you