pub struct AttributeExtractionResult {
pub attributes: AttributeMap,
pub standard_attributes: IndexMap<QName, AttributeValue>,
pub extension_attributes: IndexMap<QName, AttributeValue>,
pub namespace_declarations: IndexMap<String, String>,
pub special_attributes: IndexMap<QName, SpecialAttributeValue>,
pub warnings: Vec<String>,
}
Expand description
Attribute extraction result
Fields§
§attributes: AttributeMap
All extracted attributes with proper typing
standard_attributes: IndexMap<QName, AttributeValue>
Standard DDEX attributes (subset of all attributes)
extension_attributes: IndexMap<QName, AttributeValue>
Extension/custom attributes
namespace_declarations: IndexMap<String, String>
Namespace declarations found in this element
special_attributes: IndexMap<QName, SpecialAttributeValue>
Special attributes requiring additional processing
warnings: Vec<String>
Warnings about attribute processing
Trait Implementations§
Source§impl Clone for AttributeExtractionResult
impl Clone for AttributeExtractionResult
Source§fn clone(&self) -> AttributeExtractionResult
fn clone(&self) -> AttributeExtractionResult
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 AttributeExtractionResult
impl RefUnwindSafe for AttributeExtractionResult
impl Send for AttributeExtractionResult
impl Sync for AttributeExtractionResult
impl Unpin for AttributeExtractionResult
impl UnwindSafe for AttributeExtractionResult
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