Struct RedditUser

Source
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§has_subscribed_to_premium: 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§seen_premium_adblock_modal: bool§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

Source§

fn clone(&self) -> RedditUser

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RedditUser

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for RedditUser

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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

Source§

impl<T> ErasedDestructor for T
where T: 'static,