Struct xml_doc::WriteOptions[][src]

pub struct WriteOptions {
    pub indent_char: u8,
    pub indent_size: usize,
    pub write_decl: bool,
}
Expand description

Options when writing XML.

indent_char: b’ ’ - byte character to indent with

indent_size: 2 - how many indent_char should be used for indent

write_decl: true - XML declaration should be written at the top

Fields

indent_char: u8indent_size: usizewrite_decl: bool

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.