pub struct PatternProperty {
pub regex: Regex,
pub schema: YamlSchema,
}Expand description
A pattern property entry: a pre-compiled regex paired with its schema.
Fields§
§regex: Regex§schema: YamlSchemaTrait Implementations§
Source§impl Debug for PatternProperty
impl Debug for PatternProperty
Source§impl PartialEq for PatternProperty
impl PartialEq for PatternProperty
Auto Trait Implementations§
impl Freeze for PatternProperty
impl RefUnwindSafe for PatternProperty
impl Send for PatternProperty
impl Sync for PatternProperty
impl Unpin for PatternProperty
impl UnsafeUnpin for PatternProperty
impl UnwindSafe for PatternProperty
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