pub struct ToXmlConfig {
pub pretty: bool,
pub indent: String,
pub root_element: String,
pub include_metadata: bool,
pub use_attributes: bool,
}Expand description
Configuration for XML output
Fields§
§pretty: boolPretty-print with indentation
indent: StringIndentation string (e.g., “ “ or “\t”)
root_element: StringRoot element name
include_metadata: boolInclude HEDL metadata as attributes
use_attributes: boolUse attributes for scalar values where appropriate
Trait Implementations§
Source§impl Clone for ToXmlConfig
impl Clone for ToXmlConfig
Source§fn clone(&self) -> ToXmlConfig
fn clone(&self) -> ToXmlConfig
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 ToXmlConfig
impl Debug for ToXmlConfig
Source§impl Default for ToXmlConfig
impl Default for ToXmlConfig
Source§impl ExportConfig for ToXmlConfig
impl ExportConfig for ToXmlConfig
Auto Trait Implementations§
impl Freeze for ToXmlConfig
impl RefUnwindSafe for ToXmlConfig
impl Send for ToXmlConfig
impl Sync for ToXmlConfig
impl Unpin for ToXmlConfig
impl UnwindSafe for ToXmlConfig
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