A strong and effective campaigner, Ms Rayner alongside Sir Keir, took an uncompromising stance on transgressions of the ministerial code while in opposition, which is likely to have contributed to her position as deputy prime minister becoming untenable.