pub struct PrivateUserObject {
pub country: String,
pub display_name: String,
pub email: String,
pub explicit_content: ExplicitContentSettingsObject,
pub external_urls: ExternalUrlObject,
pub followers: FollowersObject,
pub href: String,
pub id: String,
pub images: Vec<ImageObject>,
pub product: String,
pub _type: String,
pub uri: String,
}
Expand description
Fields§
§country: String
The country of the user, as set in the user’s account profile. An ISO 3166-1 alpha-2 country code. This field is only available when the current user has granted access to the user-read-private scope.
display_name: String
The name displayed on the user’s profile. null
if not available.
email: String
The user’s email address, as entered by the user when creating their account. Important! This email address is unverified; there is no proof that it actually belongs to the user. This field is only available when the current user has granted access to the user-read-email scope.
explicit_content: ExplicitContentSettingsObject
The user’s explicit content settings. This field is only available when the current user has granted access to the user-read-private scope.
external_urls: ExternalUrlObject
Known external URLs for this user.
followers: FollowersObject
Information about the followers of the user.
href: String
A link to the Web API endpoint for this user.
id: String
The Spotify user ID for the user.
images: Vec<ImageObject>
The user’s profile image.
product: String
The user’s Spotify subscription level: “premium”, “free”, etc. (The subscription level “open” can be considered the same as “free”.) This field is only available when the current user has granted access to the user-read-private scope.
_type: String
The object type: “user”
uri: String
The Spotify URI for the user.
Trait Implementations§
Source§impl Clone for PrivateUserObject
impl Clone for PrivateUserObject
Source§fn clone(&self) -> PrivateUserObject
fn clone(&self) -> PrivateUserObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PrivateUserObject
impl Debug for PrivateUserObject
Source§impl<'de> Deserialize<'de> for PrivateUserObject
impl<'de> Deserialize<'de> for PrivateUserObject
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>,
Source§impl PartialEq for PrivateUserObject
impl PartialEq for PrivateUserObject
Source§impl Serialize for PrivateUserObject
impl Serialize for PrivateUserObject
impl Eq for PrivateUserObject
impl StructuralPartialEq for PrivateUserObject
Auto Trait Implementations§
impl Freeze for PrivateUserObject
impl RefUnwindSafe for PrivateUserObject
impl Send for PrivateUserObject
impl Sync for PrivateUserObject
impl Unpin for PrivateUserObject
impl UnwindSafe for PrivateUserObject
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
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
key
and return true
if they are equal.