[][src]Function serde_generate::rust::output

pub fn output(
    out: &mut dyn Write,
    with_serialization: bool,
    registry: &Registry
) -> Result<(), Box<dyn Error>>

Write container definitions in Rust.

  • All definitions are made pub.
  • If with_serialization is true, the crate serde and serde_bytes are assumed to be available.