Module Values.StructuredMessage

The structured message for the message signal. It can be defined with either a primitiveMessageDefinition, structuredMessageListDefinition, or structuredMessageDefinition recursively.

Sourcetype nonrec t = {
  1. primitiveMessageDefinition : PrimitiveMessageDefinition.t option;
    (*

    Represents a primitive type node of the complex data structure.

    *)
  2. structuredMessageListDefinition : StructuredMessageListDefinition.t option;
    (*

    Represents a list type node of the complex data structure.

    *)
  3. structuredMessageDefinition : StructuredMessageDefinition.t option;
    (*

    Represents a struct type node of the complex data structure.

    *)
}
Sourceval make : ?primitiveMessageDefinition:PrimitiveMessageDefinition.t -> ?structuredMessageListDefinition:StructuredMessageListDefinition.t -> ?structuredMessageDefinition:StructuredMessageDefinition.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t