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: boolIf 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: 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§
source§impl<'de> Deserialize<'de> for Client
impl<'de> Deserialize<'de> for Client
source§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>,
source§impl PartialEq<Client> for Client
impl PartialEq<Client> for Client
impl Eq for Client
impl StructuralEq for Client
impl StructuralPartialEq for Client
Auto Trait Implementations§
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.