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
about: String
The raw markdown for the user's long-form about text.
Examples
I'm curious about https://kitsu.io/anime/nichijou!
about_formatted: Option<String>
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>!
avatar: Option<Image>
Links to the user's avatar.
bio: Option<String>
birthday: Option<String>
comments_count: u64
cover_image: Option<Image>
Links to the user's cover image.
created_at: String
facebook_id: Option<String>
favorites_count: u64
The number of media items the user has favorited.
feed_completed: bool
Whether the user's feed is completed.
followers_count: u64
following_count: u64
gender: Option<String>
life_spent_on_anime: u64
likes_given_count: u64
likes_received_count: u64
location: Option<String>
name: String
past_names: Vec<String>
An array of previous names the user has gone by, in reverse-chronological order.
Examples
vec![
"oldn ame".to_owned(),
"older name".to_owned()
]
posts_count: u64
profile_completed: bool
Whether the user has finished completing their profile.
pro_expires_at: Option<String>
When the user's pro subscripten expires.
ratings_count: u64
reviews_count: u64
The number of reviews the user has posted.
title: Option<String>
The user's title.
updated_at: String
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
waifu_or_husbando: Option<WaifuOrHusbando>
website: Option<String>
Methods
impl UserAttributes
[src]
Trait Implementations
impl Clone for UserAttributes
[src]
fn clone(&self) -> UserAttributes
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more