+ /// The default theme. Usually "browser"
+ pub default_theme: Option<String>,
+ pub default_post_listing_type: Option<ListingType>,
+ /// An optional page of legal information
+ pub legal_information: Option<String>,
+ /// Whether to email admins when receiving a new application.
+ pub application_email_admins: Option<bool>,
+ /// Whether to hide moderator names from the modlog.
+ pub hide_modlog_mod_names: Option<bool>,
+ /// A list of allowed discussion languages.
+ pub discussion_languages: Option<Vec<LanguageId>>,
+ /// A regex string of items to filter.
+ pub slur_filter_regex: Option<String>,
+ /// The max length of actor names.
+ pub actor_name_max_length: Option<i32>,
+ /// The number of messages allowed in a given time frame.
+ pub rate_limit_message: Option<i32>,
+ pub rate_limit_message_per_second: Option<i32>,
+ /// The number of posts allowed in a given time frame.
+ pub rate_limit_post: Option<i32>,
+ pub rate_limit_post_per_second: Option<i32>,
+ /// The number of registrations allowed in a given time frame.
+ pub rate_limit_register: Option<i32>,
+ pub rate_limit_register_per_second: Option<i32>,
+ /// The number of image uploads allowed in a given time frame.
+ pub rate_limit_image: Option<i32>,
+ pub rate_limit_image_per_second: Option<i32>,
+ /// The number of comments allowed in a given time frame.
+ pub rate_limit_comment: Option<i32>,
+ pub rate_limit_comment_per_second: Option<i32>,
+ /// The number of searches allowed in a given time frame.
+ pub rate_limit_search: Option<i32>,
+ pub rate_limit_search_per_second: Option<i32>,
+ /// Whether to enable federation.
+ pub federation_enabled: Option<bool>,
+ /// Enables federation debugging.
+ pub federation_debug: Option<bool>,
+ /// Whether to enable captchas for signups.
+ pub captcha_enabled: Option<bool>,
+ /// The captcha difficulty. Can be easy, medium, or hard
+ pub captcha_difficulty: Option<String>,
+ /// A list of allowed instances. If none are set, federation is open.
+ pub allowed_instances: Option<Vec<String>>,
+ /// A list of blocked instances.
+ pub blocked_instances: Option<Vec<String>>,
+ /// A list of taglines shown at the top of the front page.
+ pub taglines: Option<Vec<String>>,
+ pub registration_mode: Option<RegistrationMode>,
+ /// Whether to email admins for new reports.
+ pub reports_email_admins: Option<bool>,