soundcloud-rs 0.14.0

A simple Rust client for the SoundCloud API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

use crate::{
    models::response::PagingCollection,
    response::{Track, User},
};

pub type Reposts = PagingCollection<Repost>;

#[derive(Debug, Serialize, Deserialize, Default, Clone)]
pub struct Repost {
    pub created_at: Option<String>,
    pub r#type: Option<String>,
    pub user: Option<User>,
    pub uuid: Option<String>,
    pub caption: Option<String>,
    pub track: Option<Track>,
}