use Url type for subtitles url
use serde::{Deserialize, Serialize};
+use url::Url;
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct Subtitles {
pub id: String,
// @TODO: ISO 639-2
pub lang: String,
- pub url: String,
+ pub url: Url,
}
