You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2b-rs/src/providers/music/responses.rs

20 lines
417 B
Rust

use serde_derive::Deserialize;
#[derive(Deserialize, Clone, Debug)]
pub(crate) struct PlaylistEntry {
ie_key: String,
id: String,
pub url: String,
pub title: String,
pub uploader: String,
}
#[derive(Deserialize, Clone, Debug)]
pub(crate) struct VideoInformation {
id: String,
pub title: String,
pub thumbnail: Option<String>,
pub webpage_url: String,
pub uploader: String,
}