pub struct BoundaryZone {
pub name: String,
pub patterns: Vec<String>,
pub root: Option<String>,
}Expand description
A named zone grouping files by directory pattern.
Fields§
§name: StringZone identifier referenced in rules (e.g., "ui", "database", "shared").
patterns: Vec<String>Glob patterns (relative to project root) that define zone membership. A file belongs to the first zone whose pattern matches.
root: Option<String>Optional subtree scope. When set, patterns are relative to this directory instead of the project root. Useful for monorepos with per-package boundaries. Reserved for future use — currently ignored by the detector.
Trait Implementations§
Source§impl Clone for BoundaryZone
impl Clone for BoundaryZone
Source§fn clone(&self) -> BoundaryZone
fn clone(&self) -> BoundaryZone
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 BoundaryZone
impl Debug for BoundaryZone
Source§impl<'de> Deserialize<'de> for BoundaryZone
impl<'de> Deserialize<'de> for BoundaryZone
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
Source§impl JsonSchema for BoundaryZone
impl JsonSchema for BoundaryZone
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for BoundaryZone
impl RefUnwindSafe for BoundaryZone
impl Send for BoundaryZone
impl Sync for BoundaryZone
impl Unpin for BoundaryZone
impl UnsafeUnpin for BoundaryZone
impl UnwindSafe for BoundaryZone
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