Skip to content

Commit cbb47e1

Browse files
committed
Upgrade Rust SDK to spec 1.20.8-nightly.2
1 parent 7d49f17 commit cbb47e1

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
repository="https://github.com/vrchatapi/vrchatapi-rust"
33
name = "vrchatapi"
4-
version = "1.20.8-nightly.1"
4+
version = "1.20.8-nightly.2"
55
authors = ["vrchatapi.lpv0t@aries.fyi"]
66
description = "VRChat API Client for Rust"
77
license = "MIT"

docs/CalendarEvent.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ Name | Type | Description | Notes
2121
**interested_user_count** | Option<**i32**> | | [optional]
2222
**is_draft** | Option<**bool**> | | [optional]
2323
**languages** | Option<**Vec<String>**> | Languages that might be spoken at this event | [optional]
24+
**occurrence_kind** | Option<**String**> | So far if it exists, always the string \"single\" | [optional]
2425
**owner_id** | Option<**String**> | | [optional]
2526
**platforms** | Option<[**Vec<models::CalendarEventPlatform>**](CalendarEventPlatform.md)> | | [optional]
27+
**recurrence** | Option<**String**> | So far unused, always \"null\" | [optional]
2628
**role_ids** | Option<**Vec<String>**> | Group roles that may join this event | [optional]
29+
**series_id** | Option<**String**> | So far unused, always \"null\" | [optional]
2730
**starts_at** | **String** | |
2831
**tags** | Option<**Vec<String>**> | Custom tags for this event | [optional]
2932
**title** | **String** | |

src/models/calendar_event.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,21 @@ pub struct CalendarEvent {
6969
/// Languages that might be spoken at this event
7070
#[serde(rename = "languages", skip_serializing_if = "Option::is_none")]
7171
pub languages: Option<Vec<String>>,
72+
/// So far if it exists, always the string \"single\"
73+
#[serde(rename = "occurrenceKind", skip_serializing_if = "Option::is_none")]
74+
pub occurrence_kind: Option<String>,
7275
#[serde(rename = "ownerId", skip_serializing_if = "Option::is_none")]
7376
pub owner_id: Option<String>,
7477
#[serde(rename = "platforms", skip_serializing_if = "Option::is_none")]
7578
pub platforms: Option<Vec<models::CalendarEventPlatform>>,
79+
/// So far unused, always \"null\"
80+
#[serde(
81+
rename = "recurrence",
82+
default,
83+
with = "::serde_with::rust::double_option",
84+
skip_serializing_if = "Option::is_none"
85+
)]
86+
pub recurrence: Option<Option<String>>,
7687
/// Group roles that may join this event
7788
#[serde(
7889
rename = "roleIds",
@@ -81,6 +92,14 @@ pub struct CalendarEvent {
8192
skip_serializing_if = "Option::is_none"
8293
)]
8394
pub role_ids: Option<Option<Vec<String>>>,
95+
/// So far unused, always \"null\"
96+
#[serde(
97+
rename = "seriesId",
98+
default,
99+
with = "::serde_with::rust::double_option",
100+
skip_serializing_if = "Option::is_none"
101+
)]
102+
pub series_id: Option<Option<String>>,
84103
#[serde(rename = "startsAt")]
85104
pub starts_at: String,
86105
/// Custom tags for this event
@@ -130,9 +149,12 @@ impl CalendarEvent {
130149
interested_user_count: None,
131150
is_draft: None,
132151
languages: None,
152+
occurrence_kind: None,
133153
owner_id: None,
134154
platforms: None,
155+
recurrence: None,
135156
role_ids: None,
157+
series_id: None,
136158
starts_at,
137159
tags: None,
138160
title,

0 commit comments

Comments
 (0)