pub struct BaseObject {
pub mbid: String,
pub url: String,
pub name: String,
}Expand description
Extended object type with MusicBrainz ID, URL, and name
Used for artist and album information in extended track responses
Fields§
§mbid: StringMusicBrainz Identifier (may be empty string if not available)
url: StringLast.fm URL for this object
name: StringName of the object (artist name, album name, etc.)
Trait Implementations§
Source§impl Clone for BaseObject
impl Clone for BaseObject
Source§fn clone(&self) -> BaseObject
fn clone(&self) -> BaseObject
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 Debug for BaseObject
impl Debug for BaseObject
Source§impl<'de> Deserialize<'de> for BaseObject
impl<'de> Deserialize<'de> for BaseObject
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
Auto Trait Implementations§
impl Freeze for BaseObject
impl RefUnwindSafe for BaseObject
impl Send for BaseObject
impl Sync for BaseObject
impl Unpin for BaseObject
impl UnwindSafe for BaseObject
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