pub struct User {
pub display_name: Option<String>,
pub external_urls: ExternalUrls,
pub followers: Followers,
pub href: String,
pub id: String,
pub images: Vec<Image>,
pub type: String,
pub uri: String,
}Expand description
A user.
Fields§
§display_name: Option<String>The name that is displayed on the user’s profile.
external_urls: ExternalUrlsKnown external URLs for the user.
followers: FollowersThe followers of a user.
href: StringA link to the Spotify Web API endpoint providing full details of the user.
id: StringThe Spotify ID for the user.
images: Vec<Image>The cover art for the user in various sizes, with the widest first.
type: StringThe object type. Allowed values: user.
uri: StringThe Spotify URI for the user.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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 StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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