pub struct UserPublic {
pub display_name: Option<String>,
pub external_urls: Option<ExternalUrls>,
pub followers: Option<Followers>,
pub href: Option<String>,
pub id: String,
pub images: Option<Vec<Image>>,
pub item_type: String,
pub uri: String,
}Expand description
Public user profile (limited information).
Fields§
§display_name: Option<String>Display name.
external_urls: Option<ExternalUrls>External URLs.
followers: Option<Followers>Follower information.
href: Option<String>Spotify URL.
id: StringSpotify user ID.
images: Option<Vec<Image>>User profile images.
item_type: StringObject type (always “user”).
uri: StringSpotify URI.
Implementations§
Trait Implementations§
Source§impl Clone for UserPublic
impl Clone for UserPublic
Source§fn clone(&self) -> UserPublic
fn clone(&self) -> UserPublic
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 UserPublic
impl Debug for UserPublic
Source§impl<'de> Deserialize<'de> for UserPublic
impl<'de> Deserialize<'de> for UserPublic
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 UserPublic
impl RefUnwindSafe for UserPublic
impl Send for UserPublic
impl Sync for UserPublic
impl Unpin for UserPublic
impl UnwindSafe for UserPublic
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