#[non_exhaustive]pub struct Account {
pub uuid: String,
pub email: Option<String>,
pub full_name: Option<String>,
pub display_name: Option<String>,
pub has_claude_max: Option<bool>,
pub has_claude_pro: Option<bool>,
pub created_at: Option<String>,
pub extra: Extra,
}Expand description
The user behind a token.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uuid: StringThe account’s id.
email: Option<String>The login email.
full_name: Option<String>The full name.
display_name: Option<String>The display name.
has_claude_max: Option<bool>Whether the account has Claude Max.
has_claude_pro: Option<bool>Whether the account has Claude Pro.
created_at: Option<String>When the account was created, RFC 3339.
extra: ExtraAnything else.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Forget for Account
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnsafeUnpin for Account
impl UnwindSafe for Account
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