pub struct ModuleConfig {
pub roots: Option<Vec<String>>,
pub depth: Option<usize>,
pub children: Option<String>,
}Expand description
Module command settings.
Fields§
§roots: Option<Vec<String>>Root directories for module grouping.
depth: Option<usize>Depth for module grouping.
children: Option<String>Children handling: “collapse” or “separate”.
Trait Implementations§
Source§impl Clone for ModuleConfig
impl Clone for ModuleConfig
Source§fn clone(&self) -> ModuleConfig
fn clone(&self) -> ModuleConfig
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 ModuleConfig
impl Debug for ModuleConfig
Source§impl Default for ModuleConfig
impl Default for ModuleConfig
Source§fn default() -> ModuleConfig
fn default() -> ModuleConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleConfigwhere
ModuleConfig: Default,
impl<'de> Deserialize<'de> for ModuleConfigwhere
ModuleConfig: 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
Auto Trait Implementations§
impl Freeze for ModuleConfig
impl RefUnwindSafe for ModuleConfig
impl Send for ModuleConfig
impl Sync for ModuleConfig
impl Unpin for ModuleConfig
impl UnsafeUnpin for ModuleConfig
impl UnwindSafe for ModuleConfig
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