Function fieldArbitraryDepth [src]

Serialize a field. Equivalent to calling fieldPrefix followed by valueArbitraryDepth.

Prototype

pub fn fieldArbitraryDepth( self: *Struct, name: []const u8, val: anytype, options: ValueOptions, ) Error!void

Parameters

self: *Structname: []const u8options: ValueOptions

Possible Errors

WriteFailed Error

See the Writer implementation for detailed diagnostics.

Source

pub fn fieldArbitraryDepth( self: *Struct, name: []const u8, val: anytype, options: ValueOptions, ) Error!void { try self.container.fieldArbitraryDepth(name, val, options); }