Struct soundcloud::User
[−]
[src]
pub struct User { pub id: usize, pub permalink: String, pub username: String, pub uri: String, pub permalink_url: String, pub avatar_url: String, pub country: Option<String>, pub full_name: Option<String>, pub city: Option<String>, pub description: Option<String>, pub discogs_name: Option<String>, pub myspace_name: Option<String>, pub website: Option<String>, pub website_title: Option<String>, pub online: Option<bool>, pub track_count: Option<usize>, pub playlist_count: Option<usize>, pub followers_count: Option<usize>, pub followings_count: Option<usize>, pub public_favorites_count: Option<usize>, }
Registered user.
Fields
id: usize
Integer ID.
permalink: String
Permalink of the resource.
username: String
Username.
uri: String
API resource URL.
permalink_url: String
URL to the SoundCloud.com page.
avatar_url: String
URL to a JPEG image.
country: Option<String>
Country.
full_name: Option<String>
First and last name.
city: Option<String>
City.
description: Option<String>
Description, written by the user.
discogs_name: Option<String>
Discogs name.
myspace_name: Option<String>
MySpace name.
website: Option<String>
URL to a website.
website_title: Option<String>
Custom title for the website.
online: Option<bool>
Online status.
track_count: Option<usize>
Number of public tracks.
playlist_count: Option<usize>
Number of public playlists.
followers_count: Option<usize>
Number of followers.
followings_count: Option<usize>
Number of followed users.
public_favorites_count: Option<usize>
Number of favorited public tracks.
Trait Implementations
Derived Implementations
impl Clone for User
[src]
fn clone(&self) -> User
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more