EventField

Derive Macro EventField 

Source
#[derive(EventField)]
{
    // Attributes available to this derive:
    #[opcua]
}
Expand description

Derive the EventField trait.

The event field may have a field base, which unless renamed will be used as the base type for this field.

By default, fields will be given PascalCase names, you may use opcua[rename = ...] to rename individual fields.

§Example

#[derive(EventField)]
struct MyEventField {
    float: f32,
}