pub struct StyleSection {
pub level: Option<String>,
}Expand description
The [style] section: how much the CLI dresses up its output.
Read by the CLI only. The daemon has no opinion about how anyone likes their tables, and parses this solely so an unknown key is not an error.
Debug is derived rather than redacted (IR-41): one optional string, no
secret, nothing a {:?} could leak.
Fields§
§level: Option<String>full, plain or bare. Absent means the CLI decides.
Trait Implementations§
Source§impl Clone for StyleSection
impl Clone for StyleSection
Source§fn clone(&self) -> StyleSection
fn clone(&self) -> StyleSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StyleSection
impl Debug for StyleSection
Source§impl Default for StyleSection
impl Default for StyleSection
Source§fn default() -> StyleSection
fn default() -> StyleSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StyleSectionwhere
StyleSection: Default,
impl<'de> Deserialize<'de> for StyleSectionwhere
StyleSection: Default,
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StyleSection
Source§impl PartialEq for StyleSection
impl PartialEq for StyleSection
impl StructuralPartialEq for StyleSection
Auto Trait Implementations§
impl Freeze for StyleSection
impl RefUnwindSafe for StyleSection
impl Send for StyleSection
impl Sync for StyleSection
impl Unpin for StyleSection
impl UnsafeUnpin for StyleSection
impl UnwindSafe for StyleSection
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.