/*
* Prediction Trading Streams
*
* Binance Web3 Prediction pushes 14 kinds of real-time events over the Binance SApi WebSocket channel, covering market and limit trading, reward claims, fund transfers and market resolution, plus order book (bid/ask) quotes per market. Trading events go only to the user they belong to; order book quotes go to everyone subscribed. A message may occasionally be missed, order is not guaranteed, and nothing is stored while you are offline — after reconnecting, fetch the latest state from the REST API and drop duplicates using `pushId` (business events) or `marketId` + `updateTimestampMs` (order book).
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
#![allow(unused_imports)]
use crate::w3w_prediction::websocket_streams::models;
use serde::{Deserialize, Deserializer, Serialize, de::Error};
use serde_json::Value;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RewardClaimSucceededResponse {
/// Unique ID of this push. Use it to remove duplicates.
#[serde(rename = "pushId", skip_serializing_if = "Option::is_none")]
pub push_id: Option<String>,
/// Total USDT claimed. Rounded down to 2 decimals; shown as `<0.01` if smaller.
#[serde(rename = "amount", skip_serializing_if = "Option::is_none")]
pub amount: Option<String>,
}
impl RewardClaimSucceededResponse {
#[must_use]
pub fn new() -> RewardClaimSucceededResponse {
RewardClaimSucceededResponse {
push_id: None,
amount: None,
}
}
}