@ -32,7 +32,7 @@ use crate::conf::{*, data_types::*};
#[derive(Debug,Serialize,Deserialize,Clone)]#[serde(deny_unknown_fields)]pubstructPagerSettingsOverride{#[doc=" Number of context lines when going to next page."]#[doc=" Default: 0"]#[serde(alias="pager-context")]#[serde(default)]pubpager_context: Option<usize>,#[doc=" Stop at the end instead of displaying next mail."]#[doc=" Default: false"]#[serde(alias="pager-stop")]#[serde(default)]pubpager_stop: Option<bool>,#[doc=" Always show headers when scrolling."]#[doc=" Default: true"]#[serde(alias="sticky-headers",alias="headers-sticky",alias="headers_sticky")]#[serde(default)]pubsticky_headers: Option<bool>,#[doc=" The height of the pager in mail view, in percent."]#[doc=" Default: 80"]#[serde(alias="pager-ratio")]#[serde(default)]pubpager_ratio: Option<usize>,#[doc=" A command to pipe mail output through for viewing in pager."]#[doc=" Default: None"]#[serde(deserialize_with="non_empty_opt_string")]#[serde(default)]pubfilter: Option<Option<String>>,#[doc=" Named filter commands to use at will."]#[doc=""]#[doc=" Default: empty"]#[serde(default)]pubnamed_filters: Option<IndexMap<String,String>>,#[doc=" A command to pipe html output before displaying it in a pager"]#[doc=" Default: None"]#[serde(deserialize_with="non_empty_opt_string",alias="html-filter")]#[serde(default)]pubhtml_filter: Option<Option<String>>,#[doc=" Respect \"format=flowed\""]#[doc=" Default: true"]#[serde(alias="format-flowed")]#[serde(default)]pubformat_flowed: Option<bool>,#[doc=" Split long lines that would overflow on the x axis."]#[doc=" Default: true"]#[serde(alias="split-long-lines")]#[serde(default)]pubsplit_long_lines: Option<bool>,#[doc=" Minimum text width in columns."]#[doc=" Default: 80"]#[serde(alias="minimum-width")]#[serde(default)]pubminimum_width: Option<usize>,#[doc=" Choose `text/html` alternative if `text/plain` is empty in"]#[doc=" `multipart/alternative` attachments."]#[doc=" Default: true"]#[serde(alias="auto-choose-multipart-alternative")]#[serde(default)]pubauto_choose_multipart_alternative: Option<ToggleFlag>,#[doc=" Show Date: in my timezone"]#[doc=" Default: true"]#[serde(alias="show-date-in-my-timezone")]#[serde(default)]pubshow_date_in_my_timezone: Option<ToggleFlag>,#[doc=" A command to launch URLs with. The URL will be given as the first"]#[doc=" argument of the command. Default: None"]#[serde(deserialize_with="non_empty_opt_string")]#[serde(default)]puburl_launcher: Option<Option<String>>,#[doc=" A command to open html files."]#[doc=" Default: None"]#[serde(deserialize_with="non_empty_opt_string",alias="html-open")]#[serde(default)]pubhtml_open: Option<Option<String>>,#[doc=" Extra headers to display, if present, in the default header preamble."]#[doc=" Default: []"]#[serde(alias="show-extra-headers")]#[serde(default)]pubshow_extra_headers: Option<Vec<String>>}implDefaultforPagerSettingsOverride{fndefault()-> Self{Self{pager_context: None,pager_stop: None,sticky_headers: None,pager_ratio: None,filter: None,named_filters: None,html_filter: None,format_flowed: None,split_long_lines: None,minimum_width: None,auto_choose_multipart_alternative: None,show_date_in_my_timezone: None,url_launcher: None,html_open: None,show_extra_headers: None}}}
#[derive(Debug,Serialize,Deserialize,Clone)]#[serde(deny_unknown_fields)]pubstructListingSettingsOverride{#[doc=" Number of context lines when going to next page."]#[doc=" Default: 0"]#[serde(alias="context-lines")]#[serde(default)]pubcontext_lines: Option<usize>,#[doc=" Show auto-hiding scrollbar in accounts sidebar menu."]#[doc=" Default: True"]#[serde(default)]pubshow_menu_scrollbar: Option<bool>,#[doc=" Datetime formatting passed verbatim to strftime(3)."]#[doc=" Default: %Y-%m-%d %T"]#[serde(alias="datetime-fmt")]#[serde(default)]pubdatetime_fmt: Option<Option<String>>,#[doc=" Show recent dates as `X {minutes,hours,days} ago`, up to 7 days."]#[doc=" Default: true"]#[serde(alias="recent-dates")]#[serde(default)]pubrecent_dates: Option<bool>,#[doc=" Show only envelopes that match this query"]#[doc=" Default: None"]#[serde(default)]pubfilter: Option<Option<Query>>,#[serde(alias="index-style")]#[serde(default)]pubindex_style: Option<IndexStyle>,#[doc=" Default: \" \""]#[serde(default)]pubsidebar_mailbox_tree_has_sibling: Option<Option<String>>,#[doc=" Default: \" \""]#[serde(default)]pubsidebar_mailbox_tree_no_sibling: Option<Option<String>>,#[doc=" Default: \" \""]#[serde(default)]pubsidebar_mailbox_tree_has_sibling_leaf: Option<Option<String>>,#[doc=" Default: \" \""]#[serde(default)]pubsidebar_mailbox_tree_no_sibling_leaf: Option<Option<String>>,#[doc=" Default: ' '"]#[serde(default)]pubsidebar_divider: Option<char>,#[doc=" Default: 90"]#[serde(default)]pubsidebar_ratio: Option<usize>,#[doc=" Flag to show if thread entry contains unseen mail."]#[doc=" Default: \"●\""]#[serde(default)]pubunseen_flag: Option<Option<String>>,#[doc=" Flag to show if thread has been snoozed."]#[doc=" Default: \"💤\""]#[serde(default)]pubthread_snoozed_flag: Option<Option<String>>,#[doc=" Flag to show if thread entry has been selected."]#[doc=" Default: \"☑\u{fe0f}\""]#[serde(default)]pubselected_flag: Option<Option<String>>,#[doc=" Flag to show if thread entry contains attachments."]#[doc=" Default: \"📎\""]#[serde(default)]pubattachment_flag: Option<Option<String>>,#[doc=" Flag to show if any thread entry contains your address as a receiver."]#[doc=" Useful to make mailing list threads that CC you stand out."]#[doc=" Default: \"✸\""]#[serde(default)]pubhighlight_self_flag: Option<Option<String>>,#[doc=" Show `highlight_self_flag` or not."]#[doc=" Default: false"]#[serde(default)]pubhighlight_self: Option<ToggleFlag>,#[doc=" Should threads with different Subjects show a list of those"]#[doc=" subjects on the entry title?"]#[doc=" Default: \"true\""]#[serde(default)]pubthread_subject_pack: Option<bool>,#[doc=" In threaded listing style, repeat identical From column values within a"]#[doc=" thread. Not repeating adds empty space in the From column which"]#[doc=" might result in less visual clutter."]#[doc=" Default: \"false\""]#[serde(default)]pubthreaded_repeat_identical_from_values: Option<bool>,#[doc=" Show relative indices in menu mailboxes to quickly help with jumping to"]#[doc=" them. Default: \"true\""]#[serde(alias="relative-menu-indices")]#[serde(default)]pubrelative_menu_indices: Option<bool>,#[doc=" Show relative indices in listings to quickly help with jumping to"]#[doc=" them. Default: \"true\""]#[serde(alias="relative-list-indices")]#[serde(default)]pubrelative_list_indices: Option<bool>,#[doc=" Hide sidebar on launch. Default: \"false\""]#[serde(alias="hide-sidebar-on-launch")]#[serde(default)]pubhide_sidebar_on_launch: Option<bool>}implDefaultforListingSettingsOverride{fndefault()-> Self{Self{context_lines: None,show_menu_scrollbar: None,datetime_fmt: None,recent_dates: None,filter: None,index_style: None,sidebar_mailbox_tree_has_sibling: None,sidebar_mailbox_tree_no_sibling: None,sidebar_mailbox_tree_has_sibling_leaf: None,sidebar_mailbox_tree_no_sibling_leaf: None,sidebar_divider: None,sidebar_ratio: None,unseen_flag: None,thread_snoozed_flag: None,selected_flag: None,attachment_flag: None,highlight_self_flag: None,highlight_self: None,thread_subject_pack: None,threaded_repeat_identical_from_values: None,relative_menu_indices: None,relative_list_indices: None,hide_sidebar_on_launch: None}}}
#[derive(Debug,Serialize,Deserialize,Clone)]#[serde(deny_unknown_fields)]pubstructListingSettingsOverride{#[doc=" Number of context lines when going to next page."]#[doc=" Default: 0"]#[serde(alias="context-lines")]#[serde(default)]pubcontext_lines: Option<usize>,#[doc=" Show auto-hiding scrollbar in accounts sidebar menu."]#[doc=" Default: True"]#[serde(default)]pubshow_menu_scrollbar: Option<bool>,#[doc=" Datetime formatting passed verbatim to strftime(3)."]#[doc=" Default: %Y-%m-%d %T"]#[serde(alias="datetime-fmt")]#[serde(default)]pubdatetime_fmt: Option<Option<String>>,#[doc=" Show recent dates as `X {minutes,hours,days} ago`, up to 7 days."]#[doc=" Default: true"]#[serde(alias="recent-dates")]#[serde(default)]pubrecent_dates: Option<bool>,#[doc=" Show only envelopes that match this query"]#[doc=" Default: None"]#[serde(default)]pubfilter: Option<Option<Query>>,#[serde(alias="index-style")]#[serde(default)]pubindex_style: Option<IndexStyle>,#[doc=" Default: \" \""]#[serde(default)]pubsidebar_mailbox_tree_has_sibling: Option<Option<String>>,#[doc=" Default: \" \""]#[serde(default)]pubsidebar_mailbox_tree_no_sibling: Option<Option<String>>,#[doc=" Default: \" \""]#[serde(default)]pubsidebar_mailbox_tree_has_sibling_leaf: Option<Option<String>>,#[doc=" Default: \" \""]#[serde(default)]pubsidebar_mailbox_tree_no_sibling_leaf: Option<Option<String>>,#[doc=" Default: ' '"]#[serde(default)]pubsidebar_divider: Option<char>,#[doc=" Default: 90"]#[serde(default)]pubsidebar_ratio: Option<usize>,#[doc=" Flag to show if thread entry contains unseen mail."]#[doc=" Default: \"●\""]#[serde(default)]pubunseen_flag: Option<Option<String>>,#[doc=" Flag to show if thread has been snoozed."]#[doc=" Default: \"💤\""]#[serde(default)]pubthread_snoozed_flag: Option<Option<String>>,#[doc=" Flag to show if thread entry has been selected."]#[doc=" Default: \"☑\u{fe0f}\""]#[serde(default)]pubselected_flag: Option<Option<String>>,#[doc=" Flag to show if thread entry contains attachments."]#[doc=" Default: \"📎\""]#[serde(default)]pubattachment_flag: Option<Option<String>>,#[doc=" Flag to show if any thread entry contains your address as a receiver."]#[doc=" Useful to make mailing list threads that CC you stand out."]#[doc=" Default: \"✸\""]#[serde(default)]pubhighlight_self_flag: Option<Option<String>>,#[doc=" Show `highlight_self_flag` or not."]#[doc=" Default: false"]#[serde(default)]pubhighlight_self: Option<ToggleFlag>,#[doc=" Should threads with different Subjects show a list of those"]#[doc=" subjects on the entry title?"]#[doc=" Default: \"true\""]#[serde(default)]pubthread_subject_pack: Option<bool>,#[doc=" In threaded listing style, repeat identical From column values within a"]#[doc=" thread. Not repeating adds empty space in the From column which"]#[doc=" might result in less visual clutter."]#[doc=" Default: \"false\""]#[serde(default)]pubthreaded_repeat_identical_from_values: Option<bool>,#[doc=" Show relative indices in menu mailboxes to quickly help with jumping to"]#[doc=" them. Default: \"true\""]#[serde(alias="relative-menu-indices")]#[serde(default)]pubrelative_menu_indices: Option<bool>,#[doc=" Show relative indices in listings to quickly help with jumping to"]#[doc=" them. Default: \"true\""]#[serde(alias="relative-list-indices")]#[serde(default)]pubrelative_list_indices: Option<bool>,#[doc=" Hide sidebar on launch. Default: \"false\""]#[serde(alias="hide-sidebar-on-launch")]#[serde(default)]pubhide_sidebar_on_launch: Option<bool>,#[doc=" Default: ' '"]#[serde(default)]pubmail_view_divider: Option<char>}implDefaultforListingSettingsOverride{fndefault()-> Self{Self{context_lines: None,show_menu_scrollbar: None,datetime_fmt: None,recent_dates: None,filter: None,index_style: None,sidebar_mailbox_tree_has_sibling: None,sidebar_mailbox_tree_no_sibling: None,sidebar_mailbox_tree_has_sibling_leaf: None,sidebar_mailbox_tree_no_sibling_leaf: None,sidebar_divider: None,sidebar_ratio: None,unseen_flag: None,thread_snoozed_flag: None,selected_flag: None,attachment_flag: None,highlight_self_flag: None,highlight_self: None,thread_subject_pack: None,threaded_repeat_identical_from_values: None,relative_menu_indices: None,relative_list_indices: None,hide_sidebar_on_launch: None,mail_view_divider: None}}}
#[derive(Debug,Serialize,Deserialize,Clone)]#[serde(deny_unknown_fields)]pubstructNotificationsSettingsOverride{#[doc=" Enable notifications."]#[doc=" Default: True"]#[serde(default)]pubenable: Option<bool>,#[doc=" A command to pipe notifications through."]#[doc=" Default: None"]#[serde(default)]pubscript: Option<Option<String>>,#[doc=" A command to pipe new mail notifications through (preferred over"]#[doc=" `script`). Default: None"]#[serde(default)]pubnew_mail_script: Option<Option<String>>,#[doc=" A file location which has its size changed when new mail arrives (max"]#[doc=" 128 bytes). Can be used to trigger new mail notifications eg with"]#[doc=" `xbiff(1)`. Default: None"]#[serde(alias="xbiff-file-path")]#[serde(default)]pubxbiff_file_path: Option<Option<String>>,#[serde(alias="play-sound")]#[serde(default)]pubplay_sound: Option<ToggleFlag>,#[serde(alias="sound-file")]#[serde(default)]pubsound_file: Option<Option<String>>}implDefaultforNotificationsSettingsOverride{fndefault()-> Self{Self{enable: None,script: None,new_mail_script: None,xbiff_file_path: None,play_sound: None,sound_file: None}}}