pub struct CompilationStats {
pub documents_loaded: usize,
pub inline_types_assembled: usize,
pub types_resolved: usize,
pub elements_resolved: usize,
pub attributes_resolved: usize,
pub groups_resolved: usize,
pub attribute_groups_resolved: usize,
}Expand description
Statistics from schema compilation.
Fields§
§documents_loaded: usizeNumber of schema documents loaded
inline_types_assembled: usizeNumber of inline types assembled
types_resolved: usizeNumber of type references resolved
elements_resolved: usizeNumber of element references resolved
attributes_resolved: usizeNumber of attribute references resolved
groups_resolved: usizeNumber of group references resolved
attribute_groups_resolved: usizeNumber of attribute group references resolved
Implementations§
Source§impl CompilationStats
impl CompilationStats
Sourcepub fn total_references_resolved(&self) -> usize
pub fn total_references_resolved(&self) -> usize
Get total number of references resolved
Trait Implementations§
Source§impl Clone for CompilationStats
impl Clone for CompilationStats
Source§fn clone(&self) -> CompilationStats
fn clone(&self) -> CompilationStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompilationStats
impl Debug for CompilationStats
Source§impl Default for CompilationStats
impl Default for CompilationStats
Source§fn default() -> CompilationStats
fn default() -> CompilationStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompilationStats
impl RefUnwindSafe for CompilationStats
impl Send for CompilationStats
impl Sync for CompilationStats
impl Unpin for CompilationStats
impl UnsafeUnpin for CompilationStats
impl UnwindSafe for CompilationStats
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