Function Field.this

Constructs a new Field instance with the same [name], [doc], [defaultValue], and [order] as [field] has with changing the schema to the specified one. It also copies all the [attributes] and [aliases].

this (
  Field field,
  Schema schema
) @safe;