diff --git a/proxmox-auth-api/src/types.rs b/proxmox-auth-api/src/types.rs index e11d0b1a..c014a720 100644 --- a/proxmox-auth-api/src/types.rs +++ b/proxmox-auth-api/src/types.rs @@ -301,6 +301,18 @@ impl PartialEq for &RealmRef { } } +impl fmt::Display for Realm { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fmt::Display::fmt(&self.0, f) + } +} + +impl fmt::Display for RealmRef { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fmt::Display::fmt(&self.0, f) + } +} + #[api( type: String, format: &PROXMOX_TOKEN_NAME_FORMAT,