Struct xml_builder::XML[][src]

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

Structure representing a XML document. It must be used to create a XML document.

Implementations

Instantiates a XML object.

Sets the XML version attribute field.

Sets the XML encoding attribute field.

Sets a custom XML header. Be careful, no syntax and semantic verifications are made on this header.

Sets the XML document root element.

Renders an XML document into the specified writer implementing Write trait. Does not take ownership of the object.

Builds an XML document into the specified writer implementing Write trait. Consumes the XML object.

Trait Implementations

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

Formats the value using the given formatter. 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.

Converts the given value to a String. Read more

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.