fn to_json(&self) -> String {
        let user_json:JsonValue = object!{
            username: self.pseudo.clone(),
            pwd: self.pwd.clone(),
        };
        
        return json::stringify(user_json);
    }
/// Returns a json string containing user data
Returns a json string containing user data
Returns a json string containing user data
fn to_json(&self) -> String {
        let user_json:JsonValue = object!{
            username: self.pseudo.clone(),
            pwd: self.pwd.clone(),
        };
        return json::stringify(user_json);
    }
fn to_json ( & self ) -> String { let user_json : JsonValue = object ! { username self pseudo clone ( ) pwd self pwd clone ( ) } ; return json :: stringify ( user_json ) ; }
Returns a json string containing user data
Returns a json string containing user data
&self
&self