pub struct CosmosAccount {
pub country: String,
pub display_name: String,
pub email: String,
pub id: String,
pub preferred_language: String,
pub cabined_mode: bool,
pub is_logged_in: bool,
}Expand description
Response from GET /api/cosmos/account — account info.
Fields§
§country: String§display_name: String§email: String§id: String§preferred_language: String§cabined_mode: bool§is_logged_in: boolTrait Implementations§
Source§impl Clone for CosmosAccount
impl Clone for CosmosAccount
Source§fn clone(&self) -> CosmosAccount
fn clone(&self) -> CosmosAccount
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 CosmosAccount
impl Debug for CosmosAccount
Source§impl<'de> Deserialize<'de> for CosmosAccount
impl<'de> Deserialize<'de> for CosmosAccount
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 CosmosAccount
impl PartialEq for CosmosAccount
Source§impl Serialize for CosmosAccount
impl Serialize for CosmosAccount
impl StructuralPartialEq for CosmosAccount
Auto Trait Implementations§
impl Freeze for CosmosAccount
impl RefUnwindSafe for CosmosAccount
impl Send for CosmosAccount
impl Sync for CosmosAccount
impl Unpin for CosmosAccount
impl UnsafeUnpin for CosmosAccount
impl UnwindSafe for CosmosAccount
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