Struct rucola::things::prefs::Prefs[][src]

pub struct Prefs {
    pub accept_pms: AcceptPms,
    pub activity_relevant_ads: bool,
    pub allow_clicktracking: bool,
    pub beta: bool,
    pub clickgadget: bool,
    pub collapse_left_bar: bool,
    pub collapse_read_messages: bool,
    pub compress: bool,
    pub default_comment_sort: DefaultCommentSort,
    pub default_theme_sr: Option<Value>,
    pub design_beta: bool,
    pub domain_details: bool,
    pub email_comment_reply: bool,
    pub email_chat_request: bool,
    pub email_digests: bool,
    pub email_messages: bool,
    pub email_post_reply: bool,
    pub email_private_message: bool,
    pub email_unsubscribe_all: bool,
    pub email_upvote_comment: bool,
    pub email_upvote_post: bool,
    pub email_user_new_follower: bool,
    pub email_username_mention: bool,
    pub enable_default_themes: bool,
    pub feed_recommendations_enabled: bool,
    pub geopopular: String,
    pub hide_ads: bool,
    pub hide_downs: bool,
    pub hide_from_robots: bool,
    pub hide_ups: bool,
    pub highlight_controversial: bool,
    pub highlight_new_comments: bool,
    pub ignore_suggested_sort: bool,
    pub label_nsfw: bool,
    pub lang: String,
    pub layout: u32,
    pub legacy_search: bool,
    pub live_orangereds: bool,
    pub mark_messages_read: bool,
    pub media: String,
    pub media_preview: String,
    pub min_comment_score: i32,
    pub min_link_score: i32,
    pub monitor_mentions: bool,
    pub newwindow: bool,
    pub nightmode: bool,
    pub no_profanity: bool,
    pub numsites: u32,
    pub num_comments: u32,
    pub over_18: bool,
    pub private_feeds: bool,
    pub profile_opt_out: bool,
    pub public_server_seconds: bool,
    pub public_votes: bool,
    pub research: bool,
    pub search_include_over_18: bool,
    pub send_crosspost_messages: bool,
    pub send_welcome_messages: bool,
    pub show_flair: bool,
    pub show_gold_expiration: bool,
    pub show_link_flair: bool,
    pub show_location_based_recommendations: bool,
    pub show_presence: bool,
    pub show_snoovatar: bool,
    pub show_stylesheets: bool,
    pub show_trending: bool,
    pub show_twitter: bool,
    pub store_visits: bool,
    pub survey_last_seen_time: Option<Value>,
    pub third_party_data_personalized_ads: bool,
    pub third_party_personalized_ads: bool,
    pub third_party_site_data_personalized_ads: bool,
    pub third_party_site_data_personalized_content: bool,
    pub threaded_messages: bool,
    pub threaded_modmail: bool,
    pub top_karma_subreddits: bool,
    pub use_global_defaults: bool,
    pub video_autoplay: bool,
}

Fields

accept_pms: AcceptPmsactivity_relevant_ads: boolallow_clicktracking: boolbeta: boolclickgadget: boolcollapse_left_bar: boolcollapse_read_messages: boolcompress: booldefault_comment_sort: DefaultCommentSortdefault_theme_sr: Option<Value>design_beta: booldomain_details: boolemail_comment_reply: boolemail_chat_request: boolemail_digests: boolemail_messages: boolemail_post_reply: boolemail_private_message: boolemail_unsubscribe_all: boolemail_upvote_comment: boolemail_upvote_post: boolemail_user_new_follower: boolemail_username_mention: boolenable_default_themes: boolfeed_recommendations_enabled: boolgeopopular: Stringhide_ads: boolhide_downs: boolhide_from_robots: boolhide_ups: boolhighlight_controversial: boolhighlight_new_comments: boolignore_suggested_sort: boollabel_nsfw: boollang: Stringlayout: u32legacy_search: boollive_orangereds: boolmark_messages_read: boolmedia: Stringmedia_preview: Stringmin_comment_score: i32

Must be within -100 and 100

min_link_score: i32monitor_mentions: boolnewwindow: boolnightmode: boolno_profanity: boolnumsites: u32num_comments: u32over_18: boolprivate_feeds: boolprofile_opt_out: boolpublic_server_seconds: boolpublic_votes: boolresearch: boolsearch_include_over_18: boolsend_crosspost_messages: boolsend_welcome_messages: boolshow_flair: boolshow_gold_expiration: boolshow_link_flair: boolshow_location_based_recommendations: boolshow_presence: boolshow_snoovatar: boolshow_stylesheets: boolshow_trending: boolshow_twitter: boolstore_visits: boolsurvey_last_seen_time: Option<Value>third_party_data_personalized_ads: boolthird_party_personalized_ads: boolthird_party_site_data_personalized_ads: boolthird_party_site_data_personalized_content: boolthreaded_messages: boolthreaded_modmail: booltop_karma_subreddits: booluse_global_defaults: boolvideo_autoplay: bool

Trait Implementations

impl Debug for Prefs[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Prefs

impl Send for Prefs

impl Sync for Prefs

impl Unpin for Prefs

impl UnwindSafe for Prefs

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.