pub struct Field {
pub path: &'static str,
pub kind: Kind,
pub description: &'static str,
}Expand description
One config key: its dotted path, its JSON type, and the one-line description an editor shows.
Fields§
§path: &'static strDotted path from the document root (core.tools.bash.timeout_secs).
kind: KindThe value’s JSON type.
description: &'static strEditor-facing description.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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