Module event

Module event 

Source
Expand description

Provides Event data structure, EventBuilder and other facilities to work with Event.

Structs§

AttributesV03
Data structure representing CloudEvents V0.3 context attributes
AttributesV10
Data structure representing CloudEvents V1.0 context attributes
Event
Data structure that represents a CloudEvent. It provides methods to get the attributes through AttributesReader and write them through AttributesWriter. It also provides methods to read and write the event data.
EventBuilderV03
Builder to create a CloudEvent V0.3
EventBuilderV10
Builder to create a CloudEvent V1.0
UnknownSpecVersion
Error representing an unknown SpecVersion string identifier

Enums§

AttributeValue
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
EventBuilderError
Represents an error during build process
ExtensionValue
Represents all the possible CloudEvents extension values
SpecVersion
CloudEvent specification version.

Traits§

AttributesReader
Trait to get CloudEvents Context attributes.
AttributesWriter
Trait to set CloudEvents Context attributes.
EventBuilder
Trait to implement a builder for Event:
TryIntoTime
Trait to define conversion to DateTime
TryIntoUrl
Trait to define conversion to Url

Type Aliases§

UriReference
The URI-reference type.