0.1.9
This commit is contained in:
parent
656aef28f3
commit
a6732847be
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "soundcloud"
|
||||
version = "0.1.8"
|
||||
version = "0.1.9"
|
||||
edition = "2021"
|
||||
description = "A small rust crate for fetching data from soundcloud without developer account"
|
||||
authors = ["alterwain"]
|
||||
|
@ -3,7 +3,7 @@ pub struct CloudPlaylists {
|
||||
pub collection: Vec<CloudPlaylist>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
|
||||
pub struct CloudPlaylist {
|
||||
pub artwork_url: Option<String>,
|
||||
pub description: String,
|
||||
@ -16,7 +16,7 @@ pub struct CloudPlaylist {
|
||||
pub tracks: Vec<CloudTrack>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
|
||||
pub struct CloudTrack {
|
||||
pub artwork_url: Option<String>,
|
||||
pub created_at: Option<String>,
|
||||
@ -31,18 +31,18 @@ pub struct CloudTrack {
|
||||
pub media: Option<CloudTranscodings>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
|
||||
pub struct CloudArtist {
|
||||
pub username: Option<String>,
|
||||
pub permalink: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
|
||||
pub struct CloudTranscodings {
|
||||
pub transcodings: Vec<CloudTranscoding>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
|
||||
pub struct CloudTranscoding {
|
||||
pub duration: u32,
|
||||
pub preset: String,
|
||||
|
Loading…
x
Reference in New Issue
Block a user