Attribute
Attribute made up of the key and value
Depending on usage, the key field might be redundant but useful for some implementations
Depending on usage, the key field might be redundant but useful for some implementations
Used as Input
0
functions accept this type(+5 nested)
Used as Output
0
functions return this type
Type Definition
74 nested items
struct— Attribute made up of the key and value
key*:String— Attribute key
own_attributes:Option<Vec<_>>— Child attributes (nested)
variant 1:struct— String values
variant 2:struct—
DateTime valuesvariant 3:struct— Integer values
variant 4:struct— Float values
variant 5:struct— Boolean values
variant 6:struct— IDs (UUIDs)
variant 7:struct— List of other Attributes (where order matters; might contain multiple child attributes with the same key)
variant 8:struct— Container of other Attributes (where order does not matter)
variant 9:struct— Used to represent invalid values (e.g.,
DateTime which could not be parsed)Example JSON Value
json
{
"key": "example",
"value": {
"content": "example",
"type": "String"
}
}