35 lines
742 B
Rust
35 lines
742 B
Rust
|
/*
|
||
|
* Gitea API.
|
||
|
*
|
||
|
* This documentation describes the Gitea API.
|
||
|
*
|
||
|
* The version of the OpenAPI document: 1.17.3
|
||
|
*
|
||
|
* Generated by: https://openapi-generator.tech
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
|
||
|
pub struct CommitUser {
|
||
|
#[serde(rename = "date", skip_serializing_if = "Option::is_none")]
|
||
|
pub date: Option<String>,
|
||
|
#[serde(rename = "email", skip_serializing_if = "Option::is_none")]
|
||
|
pub email: Option<String>,
|
||
|
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
|
||
|
pub name: Option<String>,
|
||
|
}
|
||
|
|
||
|
impl CommitUser {
|
||
|
pub fn new() -> CommitUser {
|
||
|
CommitUser {
|
||
|
date: None,
|
||
|
email: None,
|
||
|
name: None,
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|