Skip to main content
Rust4PM

PartialOrderTrace

A partial order trace of Events.
Contains all events of a trace and their particular partial relations.
Used as Input

5

functions accept this type

Used as Output

0

functions return this type

Type Definition

40 nested items
PartialOrderTrace— A partial order trace of Events.
attributes*:Vec<Attribute>— Trace-level attributes
event_map*:Object— A mapping from an Event's hash value EventHash to the Event itself.
partial_relations*:Vec<(EventHash, EventHash)>— The partial relations between the Events contained in the PartialOrderTrace.

Example JSON Value

json
{
  "attributes": [
    {
      "key": "example",
      "value": {
        "content": "example",
        "type": "String"
      }
    }
  ],
  "event_map": {},
  "partial_relations": [
    [
      1,
      1
    ]
  ]
}

Functions Accepting This Type(5)