daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pub struct User {
  2.     email: String,
  3.     username: String,
  4. }
  5.  
  6. impl User {
  7.     pub fn new(email: &str, username: &str) -> User {
  8.         User {
  9.             email: email.to_owned(),
  10.             username: username.to_owned(),
  11.         }
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top