mirror of
https://github.com/tribufu/sdk-rust
synced 2026-02-04 17:33:07 +00:00
31 lines
861 B
Rust
31 lines
861 B
Rust
/*
|
|
* Tribufu API
|
|
*
|
|
* REST API to access Tribufu services.
|
|
*
|
|
* The version of the OpenAPI document: 1.1.0
|
|
* Contact: contact@tribufu.com
|
|
* Generated by: https://openapi-generator.tech
|
|
*/
|
|
|
|
use crate::models;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
|
pub struct UpdateProfile {
|
|
#[serde(rename = "display_name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
|
pub display_name: Option<Option<String>>,
|
|
#[serde(rename = "biography", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
|
pub biography: Option<Option<String>>,
|
|
}
|
|
|
|
impl UpdateProfile {
|
|
pub fn new() -> UpdateProfile {
|
|
UpdateProfile {
|
|
display_name: None,
|
|
biography: None,
|
|
}
|
|
}
|
|
}
|
|
|