Role
Describes that a resource can consume, produce or store a commodity.
This page is generated from the crate itself, so it cannot disagree with the code.
Describes that a resource can consume, produce or store a commodity.
| Field | Type | Required | Description |
|---|---|---|---|
commodity | Commodity | yes | The commodity being referred to. |
role | RoleType | yes | Indicates whether the resourse can consume, produce or store the specified commodity. |