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>,
pub status_time_format: String,
pub status_datetime_format: String,
}Expand description
All settings which are used by the client
Fields
read_local_logs: boolWhether the client should read the logs directly from disk or whether it should request the data from the daemon via socket.
show_confirmation_questions: boolWhether the client should show a confirmation question on potential dangerous actions.
show_expanded_aliases: boolWhether aliases specified in pueue_aliases.yml should be expanded in the pueue status
or shown in their short form.
dark_mode: boolWhether 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: StringThe format that will be used to display time formats in pueue status.
status_datetime_format: StringThe format that will be used to display datetime formats in pueue status.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Clientimpl UnwindSafe for ClientBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V