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