docs: update README

This commit is contained in:
ThetaDev 2025-01-16 03:27:06 +01:00
parent dee8a99e7a
commit 0432477451
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
15 changed files with 184 additions and 47 deletions

View file

@ -4,7 +4,7 @@ use super::{
VideoItem, YouTubeItem,
};
/// Trait for casting generic YouTube/YouTube music items to a specific kind.
/// Trait for casting generic YouTube/YouTube Music items to a specific kind.
///
/// Returns [`None`] if the item does not match.
pub trait FromYtItem: Sized {

View file

@ -1180,7 +1180,7 @@ pub struct AlbumId {
pub name: String,
}
/// YouTube music playlist object
/// YouTube Music playlist object
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
#[non_exhaustive]
pub struct MusicPlaylist {
@ -1204,7 +1204,7 @@ pub struct MusicPlaylist {
pub related_playlists: Paginator<MusicPlaylistItem>,
}
/// YouTube music album object
/// YouTube Music album object
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
#[non_exhaustive]
pub struct MusicAlbum {
@ -1234,7 +1234,7 @@ pub struct MusicAlbum {
pub variants: Vec<AlbumItem>,
}
/// YouTube music artist object
/// YouTube Music artist object
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
#[non_exhaustive]
pub struct MusicArtist {