Whether we realize it or not, we teach others how to treat us. We do this by showing what we tolerate, the language we use, and our behavior. How we treat ourselves, the standards we set, and how we honor our boundaries are examples of the behaviors that serve as examples for others.
Telling people how to treat us is important, but modelling your expectations provides an example. Saying one thing and doing another sends a mixed message. Be true to your word and be true to yourself.