Struct spacetraders::responses::UserInfoData [−][src]
pub struct UserInfoData { pub username: String, pub credits: i32, pub ship_count: i32, pub structure_count: i32, pub joined_at: DateTime<Utc>, }
Expand description
A representation of user info
Fields
username: String
The users name
credits: i32
The credits available to the user
ship_count: i32
The number of ships owned by the user
structure_count: i32
The number of structures owned by the user
joined_at: DateTime<Utc>
The date the user joined
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for UserInfoData
impl Send for UserInfoData
impl Sync for UserInfoData
impl Unpin for UserInfoData
impl UnwindSafe for UserInfoData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more