pub struct UserPrivate {
pub country: Option<String>,
pub display_name: Option<String>,
pub email: Option<String>,
pub explicit_content: Option<ExplicitContent>,
pub external_urls: Option<ExternalUrls>,
pub followers: Option<Followers>,
pub href: Option<String>,
pub id: String,
pub images: Option<Vec<Image>>,
pub product: Option<String>,
pub item_type: String,
pub uri: String,
}Expand description
Private user profile (current user with full details).
Fields§
§country: Option<String>Country (ISO 3166-1 alpha-2).
display_name: Option<String>Display name.
email: Option<String>Email address.
explicit_content: Option<ExplicitContent>Explicit content settings.
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.
product: Option<String>Product type (premium, free, etc.).
item_type: StringObject type.
uri: StringSpotify URI.
Implementations§
Trait Implementations§
Source§impl Clone for UserPrivate
impl Clone for UserPrivate
Source§fn clone(&self) -> UserPrivate
fn clone(&self) -> UserPrivate
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 UserPrivate
impl Debug for UserPrivate
Source§impl<'de> Deserialize<'de> for UserPrivate
impl<'de> Deserialize<'de> for UserPrivate
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 UserPrivate
impl RefUnwindSafe for UserPrivate
impl Send for UserPrivate
impl Sync for UserPrivate
impl Unpin for UserPrivate
impl UnwindSafe for UserPrivate
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