pub struct User {
pub country: Option<String>,
pub display_name: Option<String>,
pub spotify_url: String,
pub total_followers: i32,
pub href: String,
pub id: String,
pub images: Vec<SpotifyImage>,
pub product: Option<String>,
pub uri: String,
}
Expand description
Struct to represent User
Fields§
§country: Option<String>
§display_name: Option<String>
§spotify_url: String
§total_followers: i32
§href: String
§id: String
§images: Vec<SpotifyImage>
§product: Option<String>
§uri: String
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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