Upgrade Rust SDK to spec 1.6.3

This commit is contained in:
VRCCat
2021-11-26 01:37:51 +00:00
parent adf2aa961e
commit 0e70bb8b36
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "vrchatapi"
version = "1.6.0"
version = "1.6.3"
authors = ["OpenAPI Generator team and contributors"]
license = "MIT"
edition = "2018"

View File

@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**asset_url** | **String** | |
**asset_url** | **String** | Empty if unauthenticated. |
**asset_url_object** | [**serde_json::Value**](.md) | |
**author_id** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. |
**author_name** | **String** | |
@ -32,7 +32,7 @@ Name | Type | Description | Notes
**tags** | **Vec<String>** | |
**thumbnail_image_url** | **String** | |
**unity_package_url_object** | [**serde_json::Value**](.md) | |
**unity_packages** | [**Vec<crate::models::UnityPackage>**](UnityPackage.md) | |
**unity_packages** | [**Vec<crate::models::UnityPackage>**](UnityPackage.md) | Empty if unauthenticated. |
**updated_at** | **String** | |
**version** | **i32** | | [default to 0]
**visits** | **i32** | | [default to 0]

View File

@ -11,6 +11,7 @@
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct World {
/// Empty if unauthenticated.
#[serde(rename = "assetUrl")]
pub asset_url: String,
#[serde(rename = "assetUrlObject")]
@ -69,6 +70,7 @@ pub struct World {
pub thumbnail_image_url: String,
#[serde(rename = "unityPackageUrlObject")]
pub unity_package_url_object: serde_json::Value,
/// Empty if unauthenticated.
#[serde(rename = "unityPackages")]
pub unity_packages: Vec<crate::models::UnityPackage>,
#[serde(rename = "updated_at")]