Difference between D-Type Flip-Flop and Edge-Triggered D-Type Flip-Flop
The first one is not master-slave; you would have to cascade two copies of that circuit (with the clock inverted between them) to get the same functionality as the second circuit, which is indeed a master-slave (edge-triggered) flip-flop.