Struct xml_builder::XMLBuilder[][src]

pub struct XMLBuilder { /* fields omitted */ }
Expand description

Builder structure used to generate a custom XML structure.

Implementations

Builds a new XMLBuilder

Sets the XML version attribute field.

Arguments

version - An enum value representing the new version to use for the XML.

Sets the XML encoding attribute field.

Arguments

encoding - A String representing the encoding to use for the document.

Sets the standalone attribute for this XML document.

Sets the XML indentation.

Enables attributes sorting.

Builds a new XML structure by consuming self.

Trait Implementations

Returns the “default value” for a type. Read more

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.