Struct rucola::things::account::Account[][src]

pub struct Account {
    pub awardee_karma: u32,
    pub awarder_karma: u32,
    pub can_create_subreddit: bool,
    pub can_edit_name: bool,
    pub coins: u32,
    pub comment_karma: u32,
    pub created: f64,
    pub created_utc: f64,
    pub features: Features,
    pub force_password_reset: bool,
    pub gold_creddits: u32,
    pub gold_expiration: Option<Value>,
    pub has_android_subscription: bool,
    pub has_external_account: bool,
    pub has_gold_subscription: bool,
    pub has_ios_subscription: bool,
    pub has_mail: bool,
    pub has_mod_mail: bool,
    pub has_paypal_subscription: bool,
    pub has_stripe_subscription: bool,
    pub has_subscribed: bool,
    pub has_subscribed_to_premium: bool,
    pub has_verified_email: bool,
    pub has_visited_new_profile: bool,
    pub hide_from_robots: bool,
    pub icon_img: String,
    pub inbox_count: u32,
    pub in_beta: bool,
    pub in_chat: Option<bool>,
    pub in_redesign_beta: bool,
    pub id: String,
    pub is_employee: bool,
    pub is_gold: bool,
    pub is_mod: bool,
    pub is_sponsor: bool,
    pub is_suspended: bool,
    pub linked_identities: Vec<String>,
    pub link_karma: u32,
    pub name: String,
    pub new_modmail_exists: Option<bool>,
    pub num_friends: u32,
    pub oauth_client_id: String,
    pub over_18: bool,
    pub password_set: bool,
    pub pref_autoplay: bool,
    pub pref_clickgadget: u32,
    pub pref_geopopular: String,
    pub pref_nightmode: bool,
    pub pref_no_profanity: bool,
    pub pref_show_presence: bool,
    pub pref_show_snoovatar: bool,
    pub pref_show_trending: bool,
    pub pref_show_twitter: bool,
    pub pref_top_karma_subreddits: bool,
    pub pref_video_autoplay: bool,
    pub seen_give_award_tooltip: bool,
    pub seen_layout_switch: bool,
    pub seen_premium_adblock_modal: bool,
    pub seen_redesign_modal: bool,
    pub seen_subreddit_chat_ftux: bool,
    pub snoovatar_img: String,
    pub snoovatar_size: Option<[u32; 2]>,
    pub subreddit: Subreddit,
    pub total_karma: u32,
    pub suspension_expiration_utc: Option<Value>,
    pub verified: bool,
}

Fields

awardee_karma: u32awarder_karma: u32can_create_subreddit: boolcan_edit_name: boolcoins: u32comment_karma: u32created: f64created_utc: f64features: Featuresforce_password_reset: boolgold_creddits: u32gold_expiration: Option<Value>

I have no idea what the value should be since I don’t have a gold subscribtion

has_android_subscription: boolhas_external_account: boolhas_gold_subscription: boolhas_ios_subscription: boolhas_mail: boolhas_mod_mail: boolhas_paypal_subscription: boolhas_stripe_subscription: boolhas_subscribed: boolhas_subscribed_to_premium: boolhas_verified_email: boolhas_visited_new_profile: boolhide_from_robots: boolicon_img: Stringinbox_count: u32in_beta: boolin_chat: Option<bool>in_redesign_beta: boolid: Stringis_employee: boolis_gold: boolis_mod: boolis_sponsor: boolis_suspended: boollinked_identities: Vec<String>link_karma: u32name: Stringnew_modmail_exists: Option<bool>num_friends: u32oauth_client_id: Stringover_18: boolpassword_set: boolpref_autoplay: boolpref_clickgadget: u32pref_geopopular: Stringpref_nightmode: boolpref_no_profanity: boolpref_show_presence: boolpref_show_snoovatar: boolpref_show_trending: boolpref_show_twitter: boolpref_top_karma_subreddits: boolpref_video_autoplay: boolseen_give_award_tooltip: boolseen_layout_switch: boolseen_premium_adblock_modal: boolseen_redesign_modal: boolseen_subreddit_chat_ftux: boolsnoovatar_img: Stringsnoovatar_size: Option<[u32; 2]>subreddit: Subreddittotal_karma: u32suspension_expiration_utc: Option<Value>

No idea what this value should be since I’ve never been suspended

verified: bool

Trait Implementations

impl Debug for Account[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Account

impl Send for Account

impl Sync for Account

impl Unpin for Account

impl UnwindSafe for Account

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> Instrument for T[src]

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,