pub struct Client {
    pub restart_in_place: bool,
    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>,
    pub status_time_format: String,
    pub status_datetime_format: String,
}
Expand description

All settings which are used by the client

Fields

restart_in_place: bool

If set to true, all tasks will be restart in place, instead of creating a new task. False is the default, as you’ll lose the logs of the previously failed tasks when restarting tasks in place.

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.

status_time_format: String

The format that will be used to display time formats in pueue status.

status_datetime_format: String

The format that will be used to display datetime formats in pueue status.

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

Returns the “default value” for a type. 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)

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.