1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* MicrovisionChain API Document
*
* API definition for MicrovisionChain provided apis
*
* The version of the OpenAPI document: 3.0.11
* Contact: heqiming@metasv.com
* Generated by: https://openapi-generator.tech
*/
/// BatchBroadcastResult : Batch broadcast result
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct BatchBroadcastResult {
/// Already known transactions detected during processing (if there are any)
#[serde(rename = "known", skip_serializing_if = "Option::is_none")]
pub known: Option<Vec<String>>,
/// Transactions accepted by the mempool and then evicted due to insufficient fee (if there are any)
#[serde(rename = "evicted", skip_serializing_if = "Option::is_none")]
pub evicted: Option<Vec<String>>,
/// Transactions that failed to be accepted by the mempool (if there are any)
#[serde(rename = "invalid", skip_serializing_if = "Option::is_none")]
pub invalid: Option<Vec<crate::models::InvalidBroadCast>>,
}
impl BatchBroadcastResult {
/// Batch broadcast result
pub fn new() -> BatchBroadcastResult {
BatchBroadcastResult {
known: None,
evicted: None,
invalid: None,
}
}
}