Struct kitsu::model::UserAttributes [] [src]

pub struct UserAttributes {
    pub about: String,
    pub about_formatted: Option<String>,
    pub avatar: Option<Image>,
    pub bio: Option<String>,
    pub birthday: Option<String>,
    pub comments_count: u64,
    pub cover_image: Option<Image>,
    pub created_at: String,
    pub facebook_id: Option<String>,
    pub favorites_count: u64,
    pub feed_completed: bool,
    pub followers_count: u64,
    pub following_count: u64,
    pub gender: Option<String>,
    pub life_spent_on_anime: u64,
    pub likes_given_count: u64,
    pub likes_received_count: u64,
    pub location: Option<String>,
    pub name: String,
    pub past_names: Vec<String>,
    pub posts_count: u64,
    pub profile_completed: bool,
    pub pro_expires_at: Option<String>,
    pub ratings_count: u64,
    pub reviews_count: u64,
    pub title: Option<String>,
    pub updated_at: String,
    pub waifu_or_husbando: Option<WaifuOrHusbando>,
    pub website: Option<String>,
}

Information about a User.

Fields

The raw markdown for the user's long-form about text.

Examples

I'm curious about https://kitsu.io/anime/nichijou!

The processed and sanitized HTML for the user's long form about text.

Examples

I'm curious about <a href="https://kitsu.io/anime/nichijou">Nichijou</a>!

Links to the user's avatar.

A short (140 character) biographical blurb about the user.

Examples

私、気になります!

The user's birthday.

Examples

1985-07-26

Number of comments user has submitted.

Examples

15

Links to the user's cover image.

When the user signed up.

Examples

1985-07-26T22:13:20.223Z

The user's Facebook id if they have signed in with Facebook.

Examples

1234567890

The number of media items the user has favorited.

Whether the user's feed is completed.

Number of people following this user.

Examples

12

Number of people this user is following.

Examples

300

The user's gender, if provided.

Examples

female

Number of minutes of anime watched.

Examples

550

Number of posts user has liked.

Examples

12

Number of likes the user's post has received.

Examples

45

A user-provided location.

Examples

The Internet

The user's current username.

Examples

chitanda

An array of previous names the user has gone by, in reverse-chronological order.

Examples

vec![
    "oldn ame".to_owned(),
    "older name".to_owned()
]

Number of posts user has submitted.

Examples

3

Whether the user has finished completing their profile.

When the user's pro subscripten expires.

Number of media user has rated.

Examples

1

The number of reviews the user has posted.

The user's title.

When the user last updated their profile.

Note: This can be the same as the created_at field, which indicates that the profile has not been "updated" since creation.

Examples

1985-07-26T22:13:20.223Z

Whether the user has a waifu or husbando.

Examples

None

The user's website.

Examples

https://en.wikipedia.org/wiki/Nichijou

Methods

impl UserAttributes
[src]

[src]

Generates a URL to the Kitsu page for the user.

Trait Implementations

impl Clone for UserAttributes
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UserAttributes
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations