Struct rspotify_model::user::PublicUser
source · [−]pub struct PublicUser {
pub display_name: Option<String>,
pub external_urls: HashMap<String, String>,
pub followers: Option<Followers>,
pub href: String,
pub id: UserId,
pub images: Vec<Image>,
}
Expand description
Public user object
Fields
display_name: Option<String>
external_urls: HashMap<String, String>
followers: Option<Followers>
href: String
id: UserId
images: Vec<Image>
Trait Implementations
sourceimpl Clone for PublicUser
impl Clone for PublicUser
sourcefn clone(&self) -> PublicUser
fn clone(&self) -> PublicUser
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PublicUser
impl Debug for PublicUser
sourceimpl<'de> Deserialize<'de> for PublicUser
impl<'de> Deserialize<'de> for PublicUser
sourcefn 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
sourceimpl PartialEq<PublicUser> for PublicUser
impl PartialEq<PublicUser> for PublicUser
sourcefn eq(&self, other: &PublicUser) -> bool
fn eq(&self, other: &PublicUser) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PublicUser) -> bool
fn ne(&self, other: &PublicUser) -> bool
This method tests for !=
.
sourceimpl Serialize for PublicUser
impl Serialize for PublicUser
impl Eq for PublicUser
impl StructuralEq for PublicUser
impl StructuralPartialEq for PublicUser
Auto Trait Implementations
impl RefUnwindSafe for PublicUser
impl Send for PublicUser
impl Sync for PublicUser
impl Unpin for PublicUser
impl UnwindSafe for PublicUser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more