replace_field


Description:

[ Version ( since = "0.10.0" ) ]
public Schema? replace_field (uint i, Field field) throws Error

Parameters:

this

A Schema.

i

The index of the field to be replaced.

field

The newly added Field.

Returns:

The newly allocated Schema that has field as the i-th field or null on error.