Struct spotify_rs::model::user::PrivateUser
source · pub struct PrivateUser {
pub country: String,
pub display_name: Option<String>,
pub email: String,
pub explicit_content: Option<ExplicitContent>,
pub external_urls: ExternalUrls,
pub followers: Followers,
pub href: String,
pub id: String,
pub images: Vec<Image>,
pub product: Option<String>,
pub type: String,
pub uri: String,
}Fields§
§country: String§display_name: Option<String>§email: String§explicit_content: Option<ExplicitContent>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: ExternalUrls§followers: Followers§href: String§id: String§images: Vec<Image>§product: Option<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§uri: StringTrait Implementations§
source§impl Clone for PrivateUser
impl Clone for PrivateUser
source§fn clone(&self) -> PrivateUser
fn clone(&self) -> PrivateUser
Returns a copy 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 PrivateUser
impl Debug for PrivateUser
source§impl<'de> Deserialize<'de> for PrivateUser
impl<'de> Deserialize<'de> for PrivateUser
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 PrivateUser
impl RefUnwindSafe for PrivateUser
impl Send for PrivateUser
impl Sync for PrivateUser
impl Unpin for PrivateUser
impl UnwindSafe for PrivateUser
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)