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 Credentialswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Platform>: Freeze,
PhantomData<ApiKey>: Freeze,
impl Move for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentialswhere
RawVecInner: Send,
impl Sync for Credentialswhere
RawVecInner: Sync,
impl Unpin for Credentials
impl UnsafeUnpin for Credentialswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Platform>: UnsafeUnpin,
PhantomData<ApiKey>: UnsafeUnpin,
impl UnwindSafe for Credentialswhere
RawVecInner: UnwindSafe,
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