## Description
- Add `display` field in `SuiObjectResponse`
- Simplify the `SuiObjectDataOptions` logic
Example request
```
curl --location --request POST 'http://127.0.0.1:9000' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc":"2.0",
"id":1,
"method":"sui_getObject",
"params":["0xea55a257f903378574f6fd1cd1c58031c8bb652b1e29c4a11b2b24bddb53675e", {"showDisplay": true}]
}'
```
response
```
{
"jsonrpc": "2.0",
"result": {
"status": "Exists",
"details": {
"objectId": "0xea55a257f903378574f6fd1cd1c58031c8bb652b1e29c4a11b2b24bddb53675e",
"version": 3,
"digest": "3MvgrCe5MGYEXsL7byB2HmHasE3FiN5se1sQfyycqZi2",
"display": {
"age": "10",
"buyer": "0xbac5b67c7f35ee9006054976b2926c335eedbda97ef3a4f3ff8676e4f2f8d975",
"creator": "Chris",
"description": "Unique Boar from the Boars collection with First Boar and 0xea55a257f903378574f6fd1cd1c58031c8bb652b1e29c4a11b2b24bddb53675e",
"escape_syntax": "{name}",
"full_url": "https://get-a-boar.fullurl.com/",
"img_url": "https://get-a-boar.com/first.png",
"name": "First Boar",
"price": "",
"project_url": "https://get-a-boar.com/"
}
}
},
"id": 1
}
```
## Test Plan
Rust test + TS e2e tests
---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.
### Type of Change (Check all that apply)
- [x] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration
### Release notes
[RPC] Add `display` field in `SuiObjectResponse` for frontend rendering.
See more details in
https://forums.sui.io/t/nft-object-display-proposal/4872