mirror of
https://github.com/tribufu/tribufu-rust
synced 2026-05-18 09:35:44 +00:00
Release v1.3.0
This commit is contained in:
parent
33d76d7a4e
commit
dfa1dfb1c8
64 changed files with 3285 additions and 1329 deletions
|
|
@ -1,9 +1,9 @@
|
|||
/*
|
||||
* Tribufu API
|
||||
*
|
||||
* REST API to access Tribufu services.
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.1.0
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* Contact: contact@tribufu.com
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
|
|
@ -13,14 +13,14 @@ use serde::{Deserialize, Serialize};
|
|||
|
||||
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct HashViewModel {
|
||||
#[serde(rename = "value", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub value: Option<Option<String>>,
|
||||
#[serde(rename = "value", deserialize_with = "Option::deserialize")]
|
||||
pub value: Option<String>,
|
||||
}
|
||||
|
||||
impl HashViewModel {
|
||||
pub fn new() -> HashViewModel {
|
||||
pub fn new(value: Option<String>) -> HashViewModel {
|
||||
HashViewModel {
|
||||
value: None,
|
||||
value,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue