1 2 3 4 5 6 7 8
use serde::Serialize; #[derive(Serialize)] pub struct LoginRequest { pub username: String, pub password: String, pub realm: String, }