pub struct NestedConfig {
pub recursive_import: bool,
pub max_depth: usize,
pub flatten: bool,
pub cycle_detection: bool,
pub ignore_nested: Vec<String>,
pub namespace_separator: Option<String>,
pub preserve_structure: bool,
}Expand description
Configuration for nested repository handling
Fields§
§recursive_import: bool§max_depth: usize§flatten: bool§cycle_detection: bool§ignore_nested: Vec<String>§namespace_separator: Option<String>§preserve_structure: boolTrait Implementations§
Source§impl Clone for NestedConfig
impl Clone for NestedConfig
Source§fn clone(&self) -> NestedConfig
fn clone(&self) -> NestedConfig
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 NestedConfig
impl Debug for NestedConfig
Source§impl Default for NestedConfig
impl Default for NestedConfig
Source§impl<'de> Deserialize<'de> for NestedConfig
impl<'de> Deserialize<'de> for NestedConfig
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 NestedConfig
impl RefUnwindSafe for NestedConfig
impl Send for NestedConfig
impl Sync for NestedConfig
impl Unpin for NestedConfig
impl UnsafeUnpin for NestedConfig
impl UnwindSafe for NestedConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more