pub struct LogicalGroupInfo {Show 13 fields
pub name: String,
pub children: Vec<String>,
pub auto_discover: Vec<String>,
pub authored_rule: Option<AuthoredRule>,
pub fallback_zone: Option<String>,
pub source_zone_index: usize,
pub status: LogicalGroupStatus,
pub file_count: usize,
pub child_file_count: usize,
pub fallback_file_count: usize,
pub merged_from: Option<Vec<usize>>,
pub original_zone_root: Option<String>,
pub child_source_indices: Vec<usize>,
}Expand description
View-model mirror of LogicalGroup with derived file-count totals.
Fields§
§name: StringParent zone name.
children: Vec<String>Child zone names.
auto_discover: Vec<String>Authored autoDiscover paths.
Authored parent rule, if any.
fallback_zone: Option<String>Fallback zone name, if the parent kept patterns.
source_zone_index: usizeOriginal zones[] index.
status: LogicalGroupStatusDiscovery status.
file_count: usizeTotal files across children plus the fallback zone.
child_file_count: usizeFiles matched by the child zones only.
fallback_file_count: usizeFiles matched by the fallback zone only.
merged_from: Option<Vec<usize>>Merged duplicate parent indices.
original_zone_root: Option<String>Authored parent root, if any.
child_source_indices: Vec<usize>Child-to-source zone indexes.
Trait Implementations§
Source§impl Clone for LogicalGroupInfo
impl Clone for LogicalGroupInfo
Auto Trait Implementations§
impl Freeze for LogicalGroupInfo
impl RefUnwindSafe for LogicalGroupInfo
impl Send for LogicalGroupInfo
impl Sync for LogicalGroupInfo
impl Unpin for LogicalGroupInfo
impl UnsafeUnpin for LogicalGroupInfo
impl UnwindSafe for LogicalGroupInfo
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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