The Supreme Court ruled that the funding structure of the Consumer Financial Protection Bureau is legal.