pub struct ConfigStats {
pub key_count: usize,
pub depth: usize,
pub comment_count: usize,
pub has_arrays: bool,
pub has_nested_tables: bool,
}Expand description
Configuration statistics
Fields§
§key_count: usizeTotal number of keys (including nested)
depth: usizeMaximum nesting depth
comment_count: usizeNumber of comments in the source
has_arrays: boolWhether the configuration contains arrays
has_nested_tables: boolWhether the configuration has nested tables
Trait Implementations§
Source§impl Clone for ConfigStats
impl Clone for ConfigStats
Source§fn clone(&self) -> ConfigStats
fn clone(&self) -> ConfigStats
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 ConfigStats
impl Debug for ConfigStats
Source§impl PartialEq for ConfigStats
impl PartialEq for ConfigStats
impl StructuralPartialEq for ConfigStats
Auto Trait Implementations§
impl Freeze for ConfigStats
impl RefUnwindSafe for ConfigStats
impl Send for ConfigStats
impl Sync for ConfigStats
impl Unpin for ConfigStats
impl UnsafeUnpin for ConfigStats
impl UnwindSafe for ConfigStats
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