[][src]Struct soundcloud::User

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

impl Clone for User[src]

impl Debug for User[src]

impl<'de> Deserialize<'de> for User[src]

impl Serialize for User[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.