1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Relay API
 *
 * API specification for MEV-Boost PBS relays.
 *
 * The version of the OpenAPI document: dev
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct SubmitBlockResponse {
    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
    pub message:   Option<Box<crate::models::SubmitBlock200ResponseMessage>>,
    #[serde(rename = "signature", skip_serializing_if = "Option::is_none")]
    pub signature: Option<String>,
}

impl SubmitBlockResponse {
    pub fn new() -> SubmitBlockResponse {
        SubmitBlockResponse { message: None, signature: None }
    }
}