pub struct User {Show 20 fields
pub id: Option<i64>,
pub public_id: Option<String>,
pub display_name: Option<String>,
pub firstname: Option<String>,
pub lastname: Option<String>,
pub email: Option<String>,
pub login: Option<String>,
pub age: Option<i64>,
pub genre: Option<String>,
pub country: Option<String>,
pub country_code: Option<String>,
pub language_code: Option<String>,
pub zone: Option<String>,
pub store: Option<String>,
pub avatar: Option<String>,
pub creation_date: Option<String>,
pub credential: Option<Credential>,
pub last_update: Option<LastUpdate>,
pub store_features: Option<StoreFeatures>,
pub subscription: Option<Subscription>,
}Expand description
User model representing a Qobuz user
This struct contains comprehensive information about a Qobuz user including their identification, personal information, account details, and subscription information.
§Examples
use qobuz_api_rust::models::User;
let user = User {
id: Some(123456789),
display_name: Some("Example User".to_string()),
..Default::default()
};Fields§
§id: Option<i64>Unique identifier for the user
public_id: Option<String>Public identifier for the user
display_name: Option<String>Display name for the user
firstname: Option<String>First name of the user
lastname: Option<String>Last name of the user
email: Option<String>Email address of the user
login: Option<String>Login username of the user
age: Option<i64>Age of the user
genre: Option<String>Genre preference of the user
country: Option<String>Country where the user is located
country_code: Option<String>Country code for the user
language_code: Option<String>Language code for the user
zone: Option<String>Zone information for the user
store: Option<String>Store associated with the user
avatar: Option<String>URL to the user’s avatar image
creation_date: Option<String>Date when the user account was created
credential: Option<Credential>Credential information for the user
last_update: Option<LastUpdate>Last update information for the user
store_features: Option<StoreFeatures>Store features available to the user
subscription: Option<Subscription>Subscription information for the user