Struct rspotify_model::user::PrivateUser [−][src]
pub struct PrivateUser {
pub country: Option<Country>,
pub display_name: Option<String>,
pub email: Option<String>,
pub external_urls: HashMap<String, String>,
pub explicit_content: Option<ExplicitContent>,
pub followers: Option<Followers>,
pub href: String,
pub id: UserId,
pub images: Option<Vec<Image>>,
pub product: Option<SubscriptionLevel>,
}Expand description
Private user object
Fields
country: Option<Country>display_name: Option<String>email: Option<String>external_urls: HashMap<String, String>explicit_content: Option<ExplicitContent>followers: Option<Followers>href: Stringid: UserIdimages: Option<Vec<Image>>product: Option<SubscriptionLevel>Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PrivateUser
impl Send for PrivateUser
impl Sync for PrivateUser
impl Unpin for PrivateUser
impl UnwindSafe for PrivateUser
Blanket Implementations
Mutably borrows from an owned value. Read more