the type of the struct
the key associated with the struct
the id associated with the struct
a callback that performs the archiving of the individual fields
struct Foo { int a; } auto foo = Foo(3); auto archive = new XmlArchive!(); archive.archiveStruct(Foo.stringof, "foo", 0, { // archive the fields of Foo });
Archives a struct.