Guest User

Untitled

a guest
Oct 9th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. enum Func<'a> {
  2. User(User<'a>),
  3. Text(Text<'a>),
  4. }
  5.  
  6. struct User<'a> {
  7. id: u8,
  8. username: &'a str,
  9. password: &'a str
  10. }
  11.  
  12. struct Text<'a> {
  13. message: &'a str,
  14. }
  15.  
  16. fn main() {
  17. }
Add Comment
Please, Sign In to add comment