Function beginTupleField [src]

Starts a field with a tuple as a value. Returns the tuple.

Prototype

pub fn beginTupleField( self: *Tuple, options: ContainerOptions, ) Error!Tuple

Parameters

self: *Tupleoptions: ContainerOptions

Possible Errors

WriteFailed Error

See the Writer implementation for detailed diagnostics.

Source

pub fn beginTupleField( self: *Tuple, options: ContainerOptions, ) Error!Tuple { try self.fieldPrefix(); return self.container.serializer.beginTuple(options); }