IDL 4.2 · §7.4.13.4.1
Struct
A struct is an ordered aggregate of named members of arbitrary type — the workhorse of DDS topic types. Extensibility (@final / @appendable / @mutable) controls how readers and writers with differing definitions interoperate.
Example
@appendable
struct Point {
@key long id;
double x;
double y;
};
ZeroDDS support
| OMG IDL 4.2 section | §7.4.13.4.1 |
| Implementation | idl-rust/src/struct_emit.rs |
| Tests | roundtrip.rs |
| Status | ✓ RC3 — parsed, validated and code-generated across all target languages. |
See also: IDL construct coverage · idl-4.2 audit · OMG IDL 4.2 spec