pub struct EconomyAccount {
pub account_activated_on: Option<String>,
pub account_id: Option<String>,
pub blocked: bool,
pub can_spend: bool,
pub source: String,
pub user_id: String,
}Fields§
§account_activated_on: Option<String>§account_id: Option<String>§blocked: bool§can_spend: bool§source: String§user_id: StringA users unique ID, usually in the form of usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469. Legacy players can have old IDs in the form of 8JoV9XEdpo. The ID can never be changed.
Implementations§
Trait Implementations§
Source§impl Clone for EconomyAccount
impl Clone for EconomyAccount
Source§fn clone(&self) -> EconomyAccount
fn clone(&self) -> EconomyAccount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EconomyAccount
impl Debug for EconomyAccount
Source§impl Default for EconomyAccount
impl Default for EconomyAccount
Source§fn default() -> EconomyAccount
fn default() -> EconomyAccount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EconomyAccount
impl<'de> Deserialize<'de> for EconomyAccount
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
Source§impl PartialEq for EconomyAccount
impl PartialEq for EconomyAccount
Source§impl Serialize for EconomyAccount
impl Serialize for EconomyAccount
impl StructuralPartialEq for EconomyAccount
Auto Trait Implementations§
impl Freeze for EconomyAccount
impl RefUnwindSafe for EconomyAccount
impl Send for EconomyAccount
impl Sync for EconomyAccount
impl Unpin for EconomyAccount
impl UnwindSafe for EconomyAccount
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