pub struct PublicUserObject {
pub display_name: String,
pub external_urls: ExternalUrlObject,
pub followers: FollowersObject,
pub href: String,
pub id: String,
pub images: Vec<ImageObject>,
pub _type: String,
pub uri: String,
}
Expand description
Fields§
§display_name: String
The name displayed on the user’s profile. null
if not available.
external_urls: ExternalUrlObject
Known public external URLs for this user.
followers: FollowersObject
Information about the followers of this user.
href: String
A link to the Web API endpoint for this user.
id: String
The Spotify user ID for this user.
images: Vec<ImageObject>
The user’s profile image.
_type: String
The object type: “user”
uri: String
The Spotify URI for this user.
Trait Implementations§
Source§impl Clone for PublicUserObject
impl Clone for PublicUserObject
Source§fn clone(&self) -> PublicUserObject
fn clone(&self) -> PublicUserObject
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 PublicUserObject
impl Debug for PublicUserObject
Source§impl<'de> Deserialize<'de> for PublicUserObject
impl<'de> Deserialize<'de> for PublicUserObject
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 PublicUserObject
impl PartialEq for PublicUserObject
Source§impl Serialize for PublicUserObject
impl Serialize for PublicUserObject
impl Eq for PublicUserObject
impl StructuralPartialEq for PublicUserObject
Auto Trait Implementations§
impl Freeze for PublicUserObject
impl RefUnwindSafe for PublicUserObject
impl Send for PublicUserObject
impl Sync for PublicUserObject
impl Unpin for PublicUserObject
impl UnwindSafe for PublicUserObject
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.