Struct rspotify_model::user::PrivateUser
source · 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<'static>,
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: String
§id: UserId<'static>
§images: Option<Vec<Image>>
§product: Option<SubscriptionLevel>
Trait 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
source§impl PartialEq for PrivateUser
impl PartialEq for PrivateUser
source§fn eq(&self, other: &PrivateUser) -> bool
fn eq(&self, other: &PrivateUser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivateUser
impl Serialize for PrivateUser
impl Eq for PrivateUser
impl StructuralPartialEq for PrivateUser
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