Row.toStruct

Move the content of the row into a compatible struct

This method takes no account of NULL column values. If a column was NULL, the corresponding Variant value would be unchanged in those cases.

The method will throw if the type of the Variant is not implicitly convertible to the corresponding struct member.

More...
struct Row
void
toStruct
(
S
)
(
ref S s
)
if (
is(S == struct)
)

Parameters

S

A struct type.

s S

A ref instance of the type

Detailed Description

Type Mappings

$(TYPE_MAPPINGS)

Meta