mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 23:55:33 +00:00
Upgrade Rust SDK to spec 1.4.1
This commit is contained in:
27
src/models/invite_request.rs
Normal file
27
src/models/invite_request.rs
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* VRChat API Documentation
|
||||
*
|
||||
*
|
||||
* The version of the OpenAPI document: 1.4.1
|
||||
* Contact: me@ruby.js.org
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct InviteRequest {
|
||||
#[serde(rename = "instanceId")]
|
||||
pub instance_id: String,
|
||||
}
|
||||
|
||||
impl InviteRequest {
|
||||
pub fn new(instance_id: String) -> InviteRequest {
|
||||
InviteRequest {
|
||||
instance_id,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user