pub struct User {Show 24 fields
pub accepted_eula: bool,
pub account_link_created: bool,
pub address: Option<String>,
pub apple_uid: Option<String>,
pub channel_id: u64,
pub city: Option<String>,
pub country_code: String,
pub created: u64,
pub email: String,
pub email_verified: bool,
pub facebook_uid: Option<u64>,
pub first_name: Option<String>,
pub full_name: Option<String>,
pub google_uid: String,
pub last_name: Option<String>,
pub new_user: bool,
pub nickname: Option<String>,
pub parent_id: u64,
pub phone_number: Option<String>,
pub postalcode: Option<String>,
pub updated: u64,
pub us_state: Option<String>,
pub user_id: u64,
pub username: String,
}
Expand description
Represents a Tidal user account with all associated profile information.
This structure contains user data returned during authentication and can be used to identify the authenticated user.
Fields§
§accepted_eula: bool
Whether the user has accepted the End User License Agreement
account_link_created: bool
Whether an account link has been created
address: Option<String>
User’s address (if provided)
apple_uid: Option<String>
Apple ID associated with the account (if any)
channel_id: u64
Channel ID associated with the user
city: Option<String>
User’s city (if provided)
country_code: String
User’s country code (e.g., “US”, “GB”)
created: u64
Unix timestamp when the account was created
email: String
User’s email address
email_verified: bool
Whether the email address has been verified
facebook_uid: Option<u64>
Facebook UID associated with the account (if any)
first_name: Option<String>
User’s first name (if provided)
full_name: Option<String>
User’s full name (if provided)
google_uid: String
Google UID associated with the account
last_name: Option<String>
User’s last name (if provided)
new_user: bool
Whether this is a new user account
nickname: Option<String>
User’s nickname (if provided)
parent_id: u64
Parent ID associated with the user
phone_number: Option<String>
User’s phone number (if provided)
postalcode: Option<String>
User’s postal code (if provided)
updated: u64
Unix timestamp when the account was last updated
us_state: Option<String>
User’s US state (if provided and in US)
user_id: u64
Unique user ID
username: String
User’s username