pub struct AlbumDetailData {
pub id: String,
pub name: String,
pub intro: String,
pub belong: String,
pub cover_url: String,
pub cover_de_url: String,
pub songs: Vec<AlbumDetailSongItem>,
}Expand description
专辑详情数据
包含专辑的完整信息和歌曲列表。
Fields§
§id: String专辑唯一标识符(cid)
name: String专辑名称
intro: String专辑简介
belong: String所属分类
cover_url: String封面图片URL
cover_de_url: String详情页封面URL
songs: Vec<AlbumDetailSongItem>专辑中的歌曲列表
Trait Implementations§
Source§impl Clone for AlbumDetailData
impl Clone for AlbumDetailData
Source§fn clone(&self) -> AlbumDetailData
fn clone(&self) -> AlbumDetailData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for AlbumDetailData
impl ComposeSchema for AlbumDetailData
Source§impl Debug for AlbumDetailData
impl Debug for AlbumDetailData
Source§impl<'de> Deserialize<'de> for AlbumDetailData
impl<'de> Deserialize<'de> for AlbumDetailData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AlbumDetailData
impl PartialEq for AlbumDetailData
Source§impl Serialize for AlbumDetailData
impl Serialize for AlbumDetailData
Source§impl ToSchema for AlbumDetailData
impl ToSchema for AlbumDetailData
impl Eq for AlbumDetailData
impl StructuralPartialEq for AlbumDetailData
Auto Trait Implementations§
impl Freeze for AlbumDetailData
impl RefUnwindSafe for AlbumDetailData
impl Send for AlbumDetailData
impl Sync for AlbumDetailData
impl Unpin for AlbumDetailData
impl UnwindSafe for AlbumDetailData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.