pub struct User {Show 58 fields
pub id: i64,
pub steam_id: String,
pub steam_id_v3: String,
pub steam_name: String,
pub avatar: String,
pub profile_url: String,
pub registration_timestamp: String,
pub registration_ip: String,
pub last_login: String,
pub total_profit: i64,
pub total_bet: i64,
pub betback_total: i64,
pub bet_threshold: i64,
pub total_trades: i64,
pub total_deposit: i64,
pub total_withdraw: i64,
pub withdraw_limit: i64,
pub csgo_playtime: i64,
pub last_csgo_playtime_cache: String,
pub trade_url: Option<String>,
pub trade_offer_token: Option<String>,
pub ref_id: i64,
pub ref_earnings: i64,
pub total_ref_earnings: i64,
pub referral_code: Option<String>,
pub muted_until: i64,
pub mute_reason: Value,
pub utm_campaign: Value,
pub country: String,
pub steam_level: Value,
pub last_steam_level_cache: String,
pub whitelisted: i64,
pub total_tips_received: i64,
pub total_tips_sent: i64,
pub withdrawal_fee_owed: String,
pub flags: i64,
pub tos_version: String,
pub balance: i64,
pub ban: Value,
pub balances: Vec<Value>,
pub level: i64,
pub xp: i64,
pub user_hash: String,
pub hashed_server_seed: String,
pub roles: Vec<Value>,
pub eligible_for_free_case: bool,
pub extra_security_type: String,
pub p2p_telegram_notifications_allowed: bool,
pub p2p_telegram_notifications_enabled: bool,
pub p2p_request_failed_trade_feedback: bool,
pub p2p_filter_delivery_time_enabled: bool,
pub unread_notifications: Vec<Value>,
pub last_session: LastSession,
pub steam_inventory_url: String,
pub steam_api_key: Option<String>,
pub has_crypto_deposit: bool,
pub linked_accounts: Vec<Value>,
pub api_token: String,
}Fields§
§id: i64§steam_id: String§steam_id_v3: String§steam_name: String§avatar: String§profile_url: String§registration_timestamp: String§registration_ip: String§last_login: String§total_profit: i64§total_bet: i64§betback_total: i64§bet_threshold: i64§total_trades: i64§total_deposit: i64§total_withdraw: i64§withdraw_limit: i64§csgo_playtime: i64§last_csgo_playtime_cache: String§trade_url: Option<String>§trade_offer_token: Option<String>§ref_id: i64§ref_earnings: i64§total_ref_earnings: i64§referral_code: Option<String>§muted_until: i64§mute_reason: Value§utm_campaign: Value§country: String§steam_level: Value§last_steam_level_cache: String§whitelisted: i64§total_tips_received: i64§total_tips_sent: i64§withdrawal_fee_owed: String§flags: i64§tos_version: String§balance: i64§ban: Value§balances: Vec<Value>§level: i64§xp: i64§user_hash: String§hashed_server_seed: String§roles: Vec<Value>§eligible_for_free_case: bool§extra_security_type: String§p2p_telegram_notifications_allowed: bool§p2p_telegram_notifications_enabled: bool§p2p_request_failed_trade_feedback: bool§p2p_filter_delivery_time_enabled: bool§unread_notifications: Vec<Value>§last_session: LastSession§steam_inventory_url: String§steam_api_key: Option<String>§has_crypto_deposit: bool§linked_accounts: Vec<Value>§api_token: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more