pub enum WriteResult {
Text,
Element,
Nothing,
SensitiveText,
SensitiveNothing,
}
serialize
only.Expand description
Classification of the type written by the serializer.
Variants§
Text
Text with insignificant spaces was written, for example a number. Adding indent to the serialized data does not change meaning of the data.
Element
The XML tag was written. Adding indent to the serialized data does not change meaning of the data.
Nothing
Nothing was written (i. e. serialized type not represented in XML a all). Adding indent to the serialized data does not change meaning of the data. This is returned for units, unit structs and unit variants.
SensitiveText
Text with significant spaces was written, for example a string. Adding indent to the serialized data may change meaning of the data.
SensitiveNothing
None
was serialized and nothing was written. None
does not represented in XML,
but adding indent after it may change meaning of the data.
Implementations§
Source§impl WriteResult
impl WriteResult
Trait Implementations§
Source§impl Clone for WriteResult
impl Clone for WriteResult
Source§fn clone(&self) -> WriteResult
fn clone(&self) -> WriteResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more