pub struct FromXmlConfig {
pub default_type_name: String,
pub version: (u32, u32),
pub infer_lists: bool,
pub entity_policy: EntityPolicy,
pub log_security_events: bool,
}Expand description
Configuration for XML import
Fields§
§default_type_name: StringDefault type name for list items without metadata
version: (u32, u32)HEDL version to use
infer_lists: boolTry to infer list structures from repeated elements
entity_policy: EntityPolicyEntity handling policy (XXE prevention)
log_security_events: boolEnable security event logging
Implementations§
Source§impl FromXmlConfig
impl FromXmlConfig
Sourcepub fn strict_security() -> Self
pub fn strict_security() -> Self
Create a config with strict security (reject DTDs entirely)
Trait Implementations§
Source§impl Clone for FromXmlConfig
impl Clone for FromXmlConfig
Source§fn clone(&self) -> FromXmlConfig
fn clone(&self) -> FromXmlConfig
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 FromXmlConfig
impl Debug for FromXmlConfig
Source§impl Default for FromXmlConfig
impl Default for FromXmlConfig
Source§impl ImportConfig for FromXmlConfig
impl ImportConfig for FromXmlConfig
Auto Trait Implementations§
impl Freeze for FromXmlConfig
impl RefUnwindSafe for FromXmlConfig
impl Send for FromXmlConfig
impl Sync for FromXmlConfig
impl Unpin for FromXmlConfig
impl UnwindSafe for FromXmlConfig
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