pub struct SchemaFile {
pub path: RelativePath,
pub app: ApplicationName,
pub mappings: BTreeSet<ConfKey>,
pub validators: BTreeSet<ValidatorName>,
}Expand description
A *.schema file: the keys it maps and the validators it defines.
Fields§
§path: RelativePath§app: ApplicationName§mappings: BTreeSet<ConfKey>§validators: BTreeSet<ValidatorName>Trait Implementations§
Source§impl Clone for SchemaFile
impl Clone for SchemaFile
Source§impl Debug for SchemaFile
impl Debug for SchemaFile
Source§impl<'de> Deserialize<'de> for SchemaFile
impl<'de> Deserialize<'de> for SchemaFile
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
impl Eq for SchemaFile
Source§impl PartialEq for SchemaFile
impl PartialEq for SchemaFile
Source§impl Serialize for SchemaFile
impl Serialize for SchemaFile
impl StructuralPartialEq for SchemaFile
Auto Trait Implementations§
impl Forget for SchemaFile
impl Freeze for SchemaFile
impl Move for SchemaFile
impl RefUnwindSafe for SchemaFile
impl Send for SchemaFile
impl Sync for SchemaFile
impl Unpin for SchemaFile
impl UnsafeUnpin for SchemaFile
impl UnwindSafe for SchemaFile
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