pub struct Credentials {
pub token: Token,
pub email_verified: bool,
pub phone_verified: bool,
pub permissions: Vec<String>,
pub integrations: Vec<Platform>,
pub email: String,
pub phone: String,
pub display_name: Option<String>,
pub icon: Option<String>,
pub api_keys: Vec<ApiKey>,
pub balance: f64,
}Fields§
§token: Token§email_verified: bool§phone_verified: bool§permissions: Vec<String>§integrations: Vec<Platform>§email: String§phone: String§display_name: Option<String>§icon: Option<String>§api_keys: Vec<ApiKey>§balance: f64Trait Implementations§
Source§impl Clone for Credentials
impl Clone for Credentials
Source§impl Debug for Credentials
impl Debug for Credentials
Source§impl Default for Credentials
impl Default for Credentials
Source§impl<'de> Deserialize<'de> for Credentialswhere
Credentials: Default,
impl<'de> Deserialize<'de> for Credentialswhere
Credentials: Default,
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 Forget for Credentials
impl Freeze for Credentials
impl Move for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnsafeUnpin for Credentials
impl UnwindSafe for Credentials
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