pub struct Song {
pub id: String,
pub title: String,
pub length: i64,
pub author: Artist,
pub thumbnails: Vec<Thumbnail>,
pub view_count: i64,
pub streams: Option<Vec<Stream>>,
pub album: Option<Album>,
pub platform: Platform,
pub incomplete: bool,
}Fields§
§id: String§title: String§length: i64§thumbnails: Vec<Thumbnail>§view_count: i64§streams: Option<Vec<Stream>>§album: Option<Album>§platform: Platform§incomplete: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for Song
Auto Trait Implementations§
impl Freeze for Song
impl RefUnwindSafe for Song
impl Send for Song
impl Sync for Song
impl Unpin for Song
impl UnsafeUnpin for Song
impl UnwindSafe for Song
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more