Struct pueue_lib::settings::Client[][src]

pub struct Client {
    pub read_local_logs: bool,
    pub show_confirmation_questions: bool,
    pub show_expanded_aliases: bool,
    pub dark_mode: bool,
    pub max_status_lines: Option<usize>,
}
Expand description

All settings which are used by the client

Fields

read_local_logs: bool

Whether the client should read the logs directly from disk or whether it should request the data from the daemon via socket.

show_confirmation_questions: bool

Whether the client should show a confirmation question on potential dangerous actions.

show_expanded_aliases: bool

Whether aliases specified in pueue_aliases.yml should be expanded in the pueue status or shown in their short form.

dark_mode: bool

Whether the client should use dark shades instead of regular colors.

max_status_lines: Option<usize>

The max amount of lines each task get’s in the pueue status view.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.