Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. pub struct FreshAudio<'a> {
  2. url: &'a str,
  3. title: &'a str,
  4. performer: Option<&'a str>,
  5. duration: Option<usize>,
  6. }
  7.  
  8. pub struct CahcedAudio(String);
  9.  
  10. #[derive(Debug, PartialEq, Eq, Clone, Hash)]
  11. pub struct Audio<'a, C> {
  12. kind: C,
  13. caption: Option<&'a str>,
  14. }
  15.  
  16. impl<'a, FreshAudio> Audio<'a> {
  17. fn title(title: &'a str) -> {
  18.  
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement