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 moreSource§impl Debug for WriteResult
impl Debug for WriteResult
Source§impl PartialEq for WriteResult
impl PartialEq for WriteResult
impl Copy for WriteResult
impl Eq for WriteResult
impl StructuralPartialEq for WriteResult
Auto Trait Implementations§
impl Freeze for WriteResult
impl RefUnwindSafe for WriteResult
impl Send for WriteResult
impl Sync for WriteResult
impl Unpin for WriteResult
impl UnwindSafe for WriteResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)