pub struct ConfigShowRow {
pub label: String,
pub value: String,
}Expand description
One labelled /config show row.
Intentionally minimal: a human label + its current value.
The dispatcher renders {label}: {value} verbatim, so the
adapter decides formatting (e.g. “not set” vs an empty
string) — there is no shared default at this layer because
what counts as “unset” differs per field.
Fields§
§label: String§value: StringImplementations§
Trait Implementations§
Source§impl Clone for ConfigShowRow
impl Clone for ConfigShowRow
Source§fn clone(&self) -> ConfigShowRow
fn clone(&self) -> ConfigShowRow
Returns a duplicate of the value. Read more
1.0.0 · 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 ConfigShowRow
impl Debug for ConfigShowRow
Source§impl PartialEq for ConfigShowRow
impl PartialEq for ConfigShowRow
impl Eq for ConfigShowRow
impl StructuralPartialEq for ConfigShowRow
Auto Trait Implementations§
impl Freeze for ConfigShowRow
impl RefUnwindSafe for ConfigShowRow
impl Send for ConfigShowRow
impl Sync for ConfigShowRow
impl Unpin for ConfigShowRow
impl UnsafeUnpin for ConfigShowRow
impl UnwindSafe for ConfigShowRow
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