Skip to main content
Rust4PM

Annotations_for_OcpnNodeRef

The JSON form of Annotations.
Used as Input

0

functions accept this type(+5 nested)

Used as Output

0

functions return this type

Type Definition

18 nested items
struct— The JSON form of Annotations.
edges*:Vec<(i64<uint>, EdgeAnnotation)>— By edge.
nodes*:Vec<(OcpnNodeRef, NodeAnnotation)>— By node, as one more line in the node.

Example JSON Value

json
{
  "edges": [
    [
      1,
      {}
    ]
  ],
  "nodes": [
    [
      {
        "index": 1,
        "kind": "place"
      },
      {}
    ]
  ]
}