metaculus/models/
boost.rs

1/*
2 * Metaculus API
3 *
4 * Welcome to the unofficial Rust client for the Metaculus API
5 *
6 * The version of the OpenAPI document: 1.0
7 * Contact: Benjamin Manns <opensource@benmanns.com>
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
12pub struct Boost {
13    #[serde(rename = "message")]
14    pub message: String,
15}
16
17impl Boost {
18    #[must_use]
19    pub fn new(message: String) -> Boost {
20        Boost { message }
21    }
22}