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: 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.
Trait Implementations
impl<'de> Deserialize<'de> for Client[src]
impl<'de> Deserialize<'de> for Client[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,