Skip to main content

Serialize

Derive Macro Serialize 

Source
#[derive(Serialize)]
Expand description

Derives rustbinary::archive_codec::ArchiveWrite, the two-phase archive serializer (skeleton pass then bodies pass).

Apply together with #[derive(Archive)] on the same named struct. The supported field types and rejections match the Archive derive.