Function beginTupleField [src]
Starts a field with a tuple as a value. Returns the tuple.
Prototype
pub fn beginTupleField( self: *Struct, name: []const u8, options: ContainerOptions, ) Error!Tuple
Parameters
self: *Struct
name: []const u8
options: ContainerOptions
Possible Errors
Source
pub fn beginTupleField(
self: *Struct,
name: []const u8,
options: ContainerOptions,
) Error!Tuple {
try self.fieldPrefix(name);
return self.container.serializer.beginTuple(options);
}