pub struct AccountDto {
pub id: u64,
pub name: String,
pub display_name: String,
pub avatar_url: Option<String>,
pub notes: String,
pub game_notes: BTreeMap<String, String>,
pub added_at: f64,
pub last_played_at: Option<f64>,
pub play_count: u64,
pub place_id: Option<String>,
pub last_place_id: Option<String>,
pub pinned: bool,
}Expand description
The account fields sent to the interface. Never includes the session or widget data.
Fields§
§id: u64§name: String§display_name: String§avatar_url: Option<String>§notes: String§game_notes: BTreeMap<String, String>§added_at: f64§last_played_at: Option<f64>§play_count: u64§place_id: Option<String>§last_place_id: Option<String>§pinned: boolTrait Implementations§
Source§impl Clone for AccountDto
impl Clone for AccountDto
Source§impl Debug for AccountDto
impl Debug for AccountDto
Source§impl From<&StoredAccount> for AccountDto
impl From<&StoredAccount> for AccountDto
Source§fn from(account: &StoredAccount) -> Self
fn from(account: &StoredAccount) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AccountDto
impl PartialEq for AccountDto
Source§impl Serialize for AccountDto
impl Serialize for AccountDto
impl StructuralPartialEq for AccountDto
Auto Trait Implementations§
impl Freeze for AccountDto
impl RefUnwindSafe for AccountDto
impl Send for AccountDto
impl Sync for AccountDto
impl Unpin for AccountDto
impl UnsafeUnpin for AccountDto
impl UnwindSafe for AccountDto
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