Struct serde_generate::rust::CodeGenerator[][src]

pub struct CodeGenerator<'a> { /* fields omitted */ }
Expand description

Main configuration object for code-generation in Rust.

Implementations

Create a Rust code generator for the given config.

Which derive macros should be added (independently from serialization).

Additional block of text added after derive_macros (if any), before each new container definition.

Whether definitions and fields should be marked as pub.

Write container definitions in Rust.

For each container, generate a Rust definition.

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.