pub struct User {
pub SteamId: String,
pub CommunityBanned: bool,
pub VACBanned: bool,
pub NumberOfVACBans: i32,
pub DaysSinceLastBan: i32,
pub NumberOfGameBans: i32,
pub EconomyBan: String,
}Fields§
§SteamId: StringReturns Steam ID of specified account
CommunityBanned: boolWhether or not the account is community banned.
VACBanned: boolWhether or not the account is VAC banned.
NumberOfVACBans: i32Amount of VAC bans the account has, Returns 0 if the account has none.
DaysSinceLastBan: i32Amount of days since the last ban
NumberOfGameBans: i32Amount of Game bans the account has, Returns 0 if the account has none.
EconomyBan: StringWhether or not the account has an economy ban
Trait 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
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