Function end [src]
Finishes serializing the struct.
Prints a trailing comma as configured when appropriate, and the closing bracket.
Prototype
pub fn end(self: *Struct) Error!void
Parameters
self: *Struct
Possible Errors
Source
pub fn end(self: *Struct) Error!void {
try self.container.end();
self.* = undefined;
}