pub struct ResolvedConstraints {
pub profile: String,
pub document: Option<DocumentConstraint>,
pub elements: HashMap<String, ElementConstraint>,
pub attributes: HashMap<String, AttributeConstraint>,
pub hierarchy: HashMap<String, HierarchyConstraint>,
pub nesting: Option<NestingConstraint>,
pub list_constraints: Option<ListConstraints>,
pub semantic_rules: HashMap<String, SemanticRule>,
}Expand description
Resolved constraints with inheritance applied
Fields§
§profile: StringProfile name
document: Option<DocumentConstraint>Document constraints
elements: HashMap<String, ElementConstraint>Element constraints
attributes: HashMap<String, AttributeConstraint>Attribute constraints
hierarchy: HashMap<String, HierarchyConstraint>Hierarchy constraints
nesting: Option<NestingConstraint>Nesting constraints
list_constraints: Option<ListConstraints>List constraints
semantic_rules: HashMap<String, SemanticRule>Semantic rules
Trait Implementations§
Source§impl Clone for ResolvedConstraints
impl Clone for ResolvedConstraints
Source§fn clone(&self) -> ResolvedConstraints
fn clone(&self) -> ResolvedConstraints
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 ResolvedConstraints
impl Debug for ResolvedConstraints
Source§impl Default for ResolvedConstraints
impl Default for ResolvedConstraints
Source§fn default() -> ResolvedConstraints
fn default() -> ResolvedConstraints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResolvedConstraints
impl RefUnwindSafe for ResolvedConstraints
impl Send for ResolvedConstraints
impl Sync for ResolvedConstraints
impl Unpin for ResolvedConstraints
impl UnwindSafe for ResolvedConstraints
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