[][src]Struct meli::conf::pager::PagerSettings

pub struct PagerSettings {
    pub pager_context: usize,
    pub pager_stop: bool,
    pub headers_sticky: bool,
    pub pager_ratio: usize,
    pub filter: Option<String>,
    pub html_filter: Option<String>,
    pub format_flowed: bool,
    pub split_long_lines: bool,
    pub minimum_width: usize,
    pub auto_choose_multipart_alternative: ToggleFlag,
}

Settings for the pager function.

Fields

pager_context: usize

Number of context lines when going to next page. Default: 0

pager_stop: bool

Stop at the end instead of displaying next mail. Default: false

headers_sticky: bool

Always show headers when scrolling. Default: true

pager_ratio: usize

The height of the pager in mail view, in percent. Default: 80

filter: Option<String>

A command to pipe mail output through for viewing in pager. Default: None

html_filter: Option<String>

A command to pipe html output before displaying it in a pager Default: None

format_flowed: bool

Respect "format=flowed" Default: true

split_long_lines: bool

Split long lines that would overflow on the x axis. Default: true

minimum_width: usize

Minimum text width in columns. Default: 80

auto_choose_multipart_alternative: ToggleFlag

Choose text/html alternative if text/plain is empty in multipart/alternative attachments. Default: true

Trait Implementations

impl Clone for PagerSettings[src]

impl Debug for PagerSettings[src]

impl Default for PagerSettings[src]

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

impl DotAddressable for PagerSettings[src]

impl Serialize for PagerSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for PagerSettings

impl Send for PagerSettings

impl Sync for PagerSettings

impl Unpin for PagerSettings

impl UnwindSafe for PagerSettings

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>, 

impl<T> WithSubscriber for T[src]