pub struct AlbumData {
pub id: String,
pub name: String,
pub intro: String,
pub belong: String,
pub cover_url: String,
pub cover_de_url: String,
pub artists: Vec<String>,
}Expand description
专辑数据
包含专辑的基本信息。
Fields§
§id: String专辑唯一标识符(cid)
name: String专辑名称
intro: String专辑简介
belong: String所属分类
cover_url: String封面图片URL
cover_de_url: String详情页封面URL
artists: Vec<String>艺术家列表(注意:API中拼写为“artistes“)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AlbumData
impl<'de> Deserialize<'de> for AlbumData
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
impl Eq for AlbumData
impl StructuralPartialEq for AlbumData
Auto Trait Implementations§
impl Freeze for AlbumData
impl RefUnwindSafe for AlbumData
impl Send for AlbumData
impl Sync for AlbumData
impl Unpin for AlbumData
impl UnwindSafe for AlbumData
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.