pub enum Renderer {
Types,
Defaults,
NamespaceConstants,
WithNamespaceTrait,
QuickXmlSerialize,
QuickXmlDeserialize,
}Variants§
Types
Render to render the pure types.
Defaults
Renderer to render associated methods that return the default values of the different fields of a struct.
NamespaceConstants
Renderer to add constants for the namespaces to the generated code.
WithNamespaceTrait
Renderer that adds the WithNamespace trait to
the generated types.
QuickXmlSerialize
Renderer that renders code for the the quick_xml serializer of the
different types.
QuickXmlDeserialize
Renderer that renders code for the the quick_xml deserializer of the
different types.
Trait Implementations§
impl Copy for Renderer
impl Eq for Renderer
impl StructuralPartialEq for Renderer
Auto Trait Implementations§
impl Freeze for Renderer
impl RefUnwindSafe for Renderer
impl Send for Renderer
impl Sync for Renderer
impl Unpin for Renderer
impl UnwindSafe for Renderer
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
Mutably borrows from an owned value. Read more