pub struct RedditUser {Show 63 fields
pub is_employee: bool,
pub seen_layout_switch: bool,
pub has_visited_new_profile: bool,
pub pref_no_profanity: bool,
pub has_external_account: bool,
pub pref_geopopular: String,
pub seen_redesign_modal: bool,
pub pref_show_trending: bool,
pub subreddit: Subreddit,
pub pref_show_presence: bool,
pub snoovatar_img: String,
pub snoovatar_size: (i64, i64),
pub gold_expiration: Value,
pub has_gold_subscription: bool,
pub is_sponsor: bool,
pub num_friends: i64,
pub features: Features,
pub can_edit_name: bool,
pub verified: bool,
pub pref_autoplay: bool,
pub coins: i64,
pub has_paypal_subscription: bool,
pub has_subscribed_to_premium: bool,
pub id: String,
pub has_stripe_subscription: bool,
pub oauth_client_id: String,
pub can_create_subreddit: bool,
pub over_18: bool,
pub is_gold: bool,
pub is_mod: bool,
pub awarder_karma: i64,
pub suspension_expiration_utc: Value,
pub has_verified_email: bool,
pub is_suspended: bool,
pub pref_video_autoplay: bool,
pub has_android_subscription: bool,
pub in_redesign_beta: bool,
pub icon_img: String,
pub pref_nightmode: bool,
pub awardee_karma: i64,
pub hide_from_robots: bool,
pub password_set: bool,
pub link_karma: i64,
pub force_password_reset: bool,
pub total_karma: i64,
pub seen_give_award_tooltip: bool,
pub inbox_count: i64,
pub seen_premium_adblock_modal: bool,
pub pref_top_karma_subreddits: bool,
pub pref_show_snoovatar: bool,
pub name: String,
pub pref_clickgadget: i64,
pub created: i64,
pub gold_creddits: i64,
pub created_utc: i64,
pub has_ios_subscription: bool,
pub pref_show_twitter: bool,
pub in_beta: bool,
pub comment_karma: i64,
pub accept_followers: bool,
pub has_subscribed: bool,
pub linked_identities: Vec<Value>,
pub seen_subreddit_chat_ftux: bool,
}
Fields§
§is_employee: bool
§seen_layout_switch: bool
§has_visited_new_profile: bool
§pref_no_profanity: bool
§has_external_account: bool
§pref_geopopular: String
§seen_redesign_modal: bool
§pref_show_trending: bool
§subreddit: Subreddit
§pref_show_presence: bool
§snoovatar_img: String
§snoovatar_size: (i64, i64)
§gold_expiration: Value
§has_gold_subscription: bool
§is_sponsor: bool
§num_friends: i64
§features: Features
§can_edit_name: bool
§verified: bool
§pref_autoplay: bool
§coins: i64
§has_paypal_subscription: bool
§id: String
§has_stripe_subscription: bool
§oauth_client_id: String
§can_create_subreddit: bool
§over_18: bool
§is_gold: bool
§is_mod: bool
§awarder_karma: i64
§suspension_expiration_utc: Value
§has_verified_email: bool
§is_suspended: bool
§pref_video_autoplay: bool
§has_android_subscription: bool
§in_redesign_beta: bool
§icon_img: String
§pref_nightmode: bool
§awardee_karma: i64
§hide_from_robots: bool
§password_set: bool
§link_karma: i64
§force_password_reset: bool
§total_karma: i64
§seen_give_award_tooltip: bool
§inbox_count: i64
§pref_top_karma_subreddits: bool
§pref_show_snoovatar: bool
§name: String
§pref_clickgadget: i64
§created: i64
§gold_creddits: i64
§created_utc: i64
§has_ios_subscription: bool
§pref_show_twitter: bool
§in_beta: bool
§comment_karma: i64
§accept_followers: bool
§has_subscribed: bool
§linked_identities: Vec<Value>
§seen_subreddit_chat_ftux: bool
Trait Implementations§
Source§impl Clone for RedditUser
impl Clone for RedditUser
Source§fn clone(&self) -> RedditUser
fn clone(&self) -> RedditUser
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RedditUser
impl Debug for RedditUser
Source§impl<'de> Deserialize<'de> for RedditUser
impl<'de> Deserialize<'de> for RedditUser
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RedditUser
impl RefUnwindSafe for RedditUser
impl Send for RedditUser
impl Sync for RedditUser
impl Unpin for RedditUser
impl UnwindSafe for RedditUser
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