Expand description
Provides Event data structure, EventBuilder and other facilities to work with Event.
Structs§
- Attributes
V03 - Data structure representing CloudEvents V0.3 context attributes
- Attributes
V10 - Data structure representing CloudEvents V1.0 context attributes
- Event
- Data structure that represents a CloudEvent.
It provides methods to get the attributes through
AttributesReaderand write them throughAttributesWriter. It also provides methods to read and write the event data. - Event
Builder V03 - Builder to create a CloudEvent V0.3
- Event
Builder V10 - Builder to create a CloudEvent V1.0
- Unknown
Spec Version - Error representing an unknown
SpecVersionstring identifier
Enums§
- Attribute
Value - Enum representing a borrowed value of a CloudEvent attribute. This represents the types defined in the CloudEvent spec type system
- Attributes
- Union type representing one of the possible context attributes structs
- Data
- Event data attribute representation
- Event
Builder Error - Represents an error during build process
- Extension
Value - Represents all the possible CloudEvents extension values
- Spec
Version - CloudEvent specification version.
Traits§
- Attributes
Reader - Trait to get CloudEvents Context attributes.
- Attributes
Writer - Trait to set CloudEvents Context attributes.
- Event
Builder - Trait to implement a builder for
Event: - TryInto
Time - Trait to define conversion to
DateTime - TryInto
Url - Trait to define conversion to
Url
Type Aliases§
- UriReference
- The URI-reference type.