pub struct SchemaPattern {
pub path: String,
pub components: Vec<String>,
pub match_type: MatchType,
pub regex: Option<Regex>,
}Expand description
Individual schema pattern for path matching
Fields§
§path: StringOriginal path string
components: Vec<String>Path components for structured matching
match_type: MatchTypeMatch type (exact, prefix, wildcard)
regex: Option<Regex>Pre-compiled regex for complex patterns
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaPattern
impl RefUnwindSafe for SchemaPattern
impl Send for SchemaPattern
impl Sync for SchemaPattern
impl Unpin for SchemaPattern
impl UnwindSafe for SchemaPattern
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