pub struct XmlDtd {
pub name: Option<String>,
pub public_id: Option<String>,
pub system_id: Option<String>,
pub int_subset: Option<String>,
pub entities: HashMap<String, String>,
pub parameter_entities: HashMap<String, String>,
pub elements: HashMap<String, ElementDecl>,
pub attributes: HashMap<(String, String), AttrDecl>,
}Expand description
Parsed DTD attached to a document (xmlDtd).
Fields§
§name: Option<String>§public_id: Option<String>§system_id: Option<String>§int_subset: Option<String>§entities: HashMap<String, String>General entity name → replacement text.
parameter_entities: HashMap<String, String>Parameter entity name → replacement.
elements: HashMap<String, ElementDecl>Element name → content model.
attributes: HashMap<(String, String), AttrDecl>(element, attribute) → declaration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XmlDtd
impl RefUnwindSafe for XmlDtd
impl Send for XmlDtd
impl Sync for XmlDtd
impl Unpin for XmlDtd
impl UnsafeUnpin for XmlDtd
impl UnwindSafe for XmlDtd
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