pub struct ResolvedZone {
pub name: String,
pub matchers: Vec<GlobMatcher>,
pub root: Option<String>,
}Expand description
A zone with pre-compiled glob matchers.
Fields§
§name: StringZone identifier.
matchers: Vec<GlobMatcher>Pre-compiled glob matchers for zone membership.
When root is set, matchers are applied to the path with the
root prefix stripped (subtree-relative patterns).
root: Option<String>Normalized subtree scope (e.g. "packages/app/"). When present,
only paths starting with this prefix can match this zone, and the
prefix is stripped before glob matching. Forward slashes only,
always trailing slash. None means patterns are matched against
the project-root-relative path as-is.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedZone
impl RefUnwindSafe for ResolvedZone
impl Send for ResolvedZone
impl Sync for ResolvedZone
impl Unpin for ResolvedZone
impl UnsafeUnpin for ResolvedZone
impl UnwindSafe for ResolvedZone
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