modified: Cargo.lock
modified: Cargo.toml modified: src/sobjects.rs
This commit is contained in:
parent
a72d62cb36
commit
39602b6325
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1036,7 +1036,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "soundcloud"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
dependencies = [
|
||||
"hyper-util",
|
||||
"regex",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "soundcloud"
|
||||
version = "0.1.5"
|
||||
version = "0.1.6"
|
||||
edition = "2021"
|
||||
description = "A small rust crate for fetching data from soundcloud without developer account"
|
||||
authors = ["alterwain"]
|
||||
|
@ -27,10 +27,16 @@ pub struct CloudTrack {
|
||||
pub permalink_url: Option<String>,
|
||||
pub title: Option<String>,
|
||||
pub uri: Option<String>,
|
||||
pub artist: Option<String>,
|
||||
pub user: Option<CloudArtist>,
|
||||
pub media: Option<CloudTranscodings>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
pub struct CloudArtist {
|
||||
username: Option<String>,
|
||||
permalink: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
pub struct CloudTranscodings {
|
||||
pub transcodings: Vec<CloudTranscoding>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user