csgoempire 0.1.0

CSGOEmpire REST-API and Socket Bindings
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct InstantSellResponse {
    #[serde(default)]
    pub success: bool,
    pub auction_data: Option<AuctionData>,
}

#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct AuctionData {
    pub id: i64,
    pub app_id: i64,
    pub auction_highest_bid: i64,
    pub auction_highest_bidder: i64,
    pub auction_number_of_bids: i64,
    pub auction_ends_at: i64,
}