/// Returns a printable string containing user data.
Returns a printable string containing user data.
Returns a printable string containing user data .
fn to_string(&self) -> String {
        let mut serie:String = String::from("User: \"");
        serie.push_str(self.pseudo.as_str());
        serie.push_str("\", pwd: \"");
        serie.push_str(self.pwd.as_str());
        serie.push_str("\", token: \"");
        serie.push_str(self.token.as_str());
        serie.push_str("\"");
        return serie;
    }
fn to_string ( & self ) -> String { let mut serie : String = String :: from ( " \" " ) ; serie . push_str ( self . pseudo . as_str ( ) ) ; serie . push_str ( " \" \" " ) ; serie . push_str ( self . pwd . as_str ( ) ) ; serie . push_str ( " \" \" " ) ; serie . push_str ( self . token . as_str ( ) ) ; serie . push_str ( " \" " ) ; return serie ; }
Returns a printable string containing user data.
Returns a printable string containing user data .
&self