pub struct ResolvedProfile {
pub name: String,
pub version: String,
pub elements: HashMap<String, ElementDef>,
pub types: HashMap<String, Vec<String>>,
}Expand description
Resolved profile with inheritance applied
Fields§
§name: StringProfile name
version: StringProfile version
elements: HashMap<String, ElementDef>All allowed elements (after inheritance + include/exclude)
types: HashMap<String, Vec<String>>All type vocabularies (merged from inheritance chain)
Trait Implementations§
Source§impl Clone for ResolvedProfile
impl Clone for ResolvedProfile
Source§fn clone(&self) -> ResolvedProfile
fn clone(&self) -> ResolvedProfile
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 moreAuto Trait Implementations§
impl Freeze for ResolvedProfile
impl RefUnwindSafe for ResolvedProfile
impl Send for ResolvedProfile
impl Sync for ResolvedProfile
impl Unpin for ResolvedProfile
impl UnwindSafe for ResolvedProfile
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