Class EventPayloadTrait

  • All Implemented Interfaces:
    FromSourceLocation, ToNode, ToShapeId, Trait

    public final class EventPayloadTrait
    extends BooleanTrait
    Marks a structure member of an event as the event payload. This trait can targets members of a structure marked with the event trait that targets a blob or structure.
    • Field Detail

      • ID

        public static final ShapeId ID
    • Constructor Detail

      • EventPayloadTrait

        public EventPayloadTrait​(SourceLocation sourceLocation)
      • EventPayloadTrait

        public EventPayloadTrait()