pub struct AST {
    pub root: Element,
    pub namespaces: IndexMap<String, String>,
    pub schema_location: Option<String>,
}Expand description
Abstract Syntax Tree representation of DDEX XML
The AST represents the complete structure of a DDEX XML document, including the root element, namespace declarations, and schema location. This structure is used internally by the builder to construct deterministic XML output with proper canonicalization.
Fields§
§root: ElementRoot element of the document
namespaces: IndexMap<String, String>XML namespaces used in the document (prefix -> URI) Uses IndexMap to ensure deterministic ordering
schema_location: Option<String>XSD schema location if specified
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AST
impl RefUnwindSafe for AST
impl Send for AST
impl Sync for AST
impl Unpin for AST
impl UnwindSafe for AST
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more