Skip to content

Commit 16e596c

Browse files
committed
Upgrade Rust SDK to spec 1.20.8-nightly.7
1 parent 110e08f commit 16e596c

3 files changed

Lines changed: 8 additions & 8 deletions

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.6"
4+
version = "1.20.8-nightly.7"
55
authors = ["vrchatapi.lpv0t@aries.fyi"]
66
description = "VRChat API Client for Rust"
77
license = "MIT"

docs/AgeVerificationStatus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
| Name | Value |
66
|---- | -----|
7-
| hidden | 18+ |
8-
| plus18 | hidden |
7+
| plus18 | 18+ |
8+
| hidden | hidden |
99
| verified | verified |
1010

1111

src/models/age_verification_status.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@ use serde::{Deserialize, Serialize};
1414
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1515
pub enum AgeVerificationStatus {
1616
#[serde(rename = "18+")]
17-
hidden,
18-
#[serde(rename = "hidden")]
1917
plus18,
18+
#[serde(rename = "hidden")]
19+
hidden,
2020
#[serde(rename = "verified")]
2121
verified,
2222
}
2323

2424
impl std::fmt::Display for AgeVerificationStatus {
2525
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
2626
match self {
27-
Self::hidden => write!(f, "18+"),
28-
Self::plus18 => write!(f, "hidden"),
27+
Self::plus18 => write!(f, "18+"),
28+
Self::hidden => write!(f, "hidden"),
2929
Self::verified => write!(f, "verified"),
3030
}
3131
}
3232
}
3333

3434
impl Default for AgeVerificationStatus {
3535
fn default() -> AgeVerificationStatus {
36-
Self::hidden
36+
Self::plus18
3737
}
3838
}

0 commit comments

Comments
 (0)