In the context of leadership, or really, any other, respect is something that is earned, never given. If you want respect in the workplace, develop competence and produce something of value or add value to the overall process. Additionally, if you are a person of goodwill, others will see that over time, just as, over time, others will discern your character, whatever it is.
To sum up – develop competence, produce value, exhibit good character if you wish to be respected in the workplace or any other place.
All anyone is entitled to in the workplace is common courtesy and compliance with lawful directives.
Anyone who aspires to serve in a leadership role should remember and think about these things many times throughout the workday.