Skip to contents

Map a struct to another struct type, potentially re-ordering, renaming and casting members and filling in defaults for missing values.

Arguments

input

ANY

target_type

ANY

mapping

ANY

defaults

ANY

Examples