pub trait ExtendableThing {
type InteractionAffordance: ExtendablePiece;
type PropertyAffordance: ExtendablePiece;
type ActionAffordance: ExtendablePiece;
type EventAffordance: ExtendablePiece;
type Form: ExtendablePiece;
type ExpectedResponse: ExtendablePiece;
type DataSchema: ExtendablePiece;
type ObjectSchema: ExtendablePiece;
type ArraySchema: ExtendablePiece;
}Expand description
Main extension trait
The trait uses an associated type for each element of the ThingDescription, set it to () if
the extension does not apply to that specific element.
Required Associated Types§
Sourcetype InteractionAffordance: ExtendablePiece
type InteractionAffordance: ExtendablePiece
The extension type for InteractionAffordance.
Sourcetype PropertyAffordance: ExtendablePiece
type PropertyAffordance: ExtendablePiece
The extension type for PropertyAffordance.
Sourcetype ActionAffordance: ExtendablePiece
type ActionAffordance: ExtendablePiece
The extension type for ActionAffordance.
Sourcetype EventAffordance: ExtendablePiece
type EventAffordance: ExtendablePiece
The extension type for EventAffordance.
Sourcetype Form: ExtendablePiece
type Form: ExtendablePiece
The extension type for Form.
Sourcetype ExpectedResponse: ExtendablePiece
type ExpectedResponse: ExtendablePiece
The extension type for ExpectedResponse.
Sourcetype DataSchema: ExtendablePiece
type DataSchema: ExtendablePiece
The extension type for DataSchema.
Sourcetype ObjectSchema: ExtendablePiece
type ObjectSchema: ExtendablePiece
The extension type for ObjectSchema.
Sourcetype ArraySchema: ExtendablePiece
type ArraySchema: ExtendablePiece
The extension type for ArraySchema.