pub struct DocItem {
pub path: String,
pub depth: usize,
pub section: String,
pub is_table: bool,
pub type_text: String,
pub required: bool,
pub default_text: Option<String>,
pub value_text: String,
pub description: String,
pub constraints: Vec<String>,
pub deprecated: Option<String>,
}Expand description
One documented configuration item: a dotted value path with its type, value, and prose.
Fields§
§path: String§depth: usize§section: String§is_table: bool§type_text: String§required: bool§default_text: Option<String>§value_text: String§description: String§constraints: Vec<String>§deprecated: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DocItem
impl RefUnwindSafe for DocItem
impl Send for DocItem
impl Sync for DocItem
impl Unpin for DocItem
impl UnsafeUnpin for DocItem
impl UnwindSafe for DocItem
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