pub struct SchemaMatch<'a> {
pub url: &'a str,
pub matched_pattern: &'a str,
pub file_match: &'a [String],
pub name: &'a str,
pub description: Option<&'a str>,
}Expand description
Information about how a schema was matched from a catalog.
Fields§
§url: &'a strThe schema URL.
matched_pattern: &'a strThe specific glob pattern (or exact filename) that matched.
file_match: &'a [String]All fileMatch globs from the catalog entry.
name: &'a strHuman-readable schema name from the catalog.
description: Option<&'a str>Description from the catalog entry, if present.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SchemaMatch<'a>
impl<'a> RefUnwindSafe for SchemaMatch<'a>
impl<'a> Send for SchemaMatch<'a>
impl<'a> Sync for SchemaMatch<'a>
impl<'a> Unpin for SchemaMatch<'a>
impl<'a> UnsafeUnpin for SchemaMatch<'a>
impl<'a> UnwindSafe for SchemaMatch<'a>
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