Function fieldMaxDepth [src]
Serialize a field. Equivalent to calling fieldPrefix followed by valueMaxDepth.
Returns error.ExceededMaxDepth if depth is exceeded.
Prototype
pub fn fieldMaxDepth( self: *Tuple, val: anytype, options: ValueOptions, depth: usize, ) DepthError!void
Parameters
self: *Tuple
options: ValueOptions
depth: usize
Possible Errors
Source
pub fn fieldMaxDepth(
self: *Tuple,
val: anytype,
options: ValueOptions,
depth: usize,
) DepthError!void {
try self.container.fieldMaxDepth(null, val, options, depth);
}