pub struct ExtensionValidationReport {
pub used_namespaces: Vec<String>,
pub declared_namespaces: Vec<String>,
pub undeclared: Vec<String>,
pub unsupported_required: Vec<String>,
pub warnings: Vec<String>,
}Expand description
Report from extension validation.
This report identifies which extension namespaces are used in the document content but not declared in the manifest’s extensions list.
Fields§
§used_namespaces: Vec<String>Extension namespaces used in content (from blocks and marks).
declared_namespaces: Vec<String>Extension namespaces that are declared in the manifest.
undeclared: Vec<String>Extension namespaces used but not declared.
unsupported_required: Vec<String>Extension namespaces declared as required but not supported by this reader. (Currently empty since we support all built-in extensions)
warnings: Vec<String>Warning messages.
Implementations§
Trait Implementations§
Source§impl Clone for ExtensionValidationReport
impl Clone for ExtensionValidationReport
Source§fn clone(&self) -> ExtensionValidationReport
fn clone(&self) -> ExtensionValidationReport
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 ExtensionValidationReport
impl Debug for ExtensionValidationReport
Source§impl Default for ExtensionValidationReport
impl Default for ExtensionValidationReport
Source§fn default() -> ExtensionValidationReport
fn default() -> ExtensionValidationReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExtensionValidationReport
impl RefUnwindSafe for ExtensionValidationReport
impl Send for ExtensionValidationReport
impl Sync for ExtensionValidationReport
impl Unpin for ExtensionValidationReport
impl UnsafeUnpin for ExtensionValidationReport
impl UnwindSafe for ExtensionValidationReport
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